我创建了一个值-fr和values-es和值.
值的内容是英语,但对于每个字符串,我收到此错误:
Cancel
它说:“取消”在这里翻译但在默认语言环境中找不到,我不知道这意味着什么.
值/ strings.xml中
Kendal Mintfest
Settings
Itinerary
Events
Info!
Note: Turning this option on will show only results on the selected day on the hour you select.
Friday 30th August
Saturday 31st August
Sunday 1st September
#EC008B
Okay
Cancel
值-FR / strings.xml中
Paramètres
itinéraire
Events
Info!
Remarque: Activer cette option affichera uniquement les r\ésultats le jour sélectionné à l\'heure que vous sélectionnez.
Vendredi 30 Août
Samedi 31 Août
dimanche 1er Septembre
#EC008B
OK
Annuler
值-ES / strings.xml中
Configuración
Itinerario
Events
Info!
Nota: Al activar esta opción sólo mostrará los resultados en el día seleccionado en la hora de seleccionar.
Viernes 30 de agosto
Sábado 31 de agosto
Domingo 01 de septiembre
#EC008B
Okay
Cancelar
注意:上面提到的错误发生在所有值/ strings.xml行上
解决方法:
对我来说,当我添加< resources xmlns:tools =“http://schemas.android.com/tools”tools:locale =“en”>而不只是< resources>在翻译文件中.如果你添加工具:ignore =“ExtraTranslation”那么它应该消失恕我直言
标签:android,java,eclipse
来源: https://codeday.me/bug/20191002/1843174.html