Android 本地化错误与单选按钮?
我有一个针对英语和西班牙语进行本地化的 Android 应用程序。当您以英语安装并以英语查看时,一切正常。当您以西班牙语安装它(在安装 APK 之前,手机的区域设置设置为西班牙语)并以西班牙语查看时,一切正常。当您以一种语言安装它,然后切换到另一种语言,然后运行该应用程序时,就会发生奇怪的情况。单选按钮文本拒绝更改其安装时的语言。我已经验证了两个 strings.xml 文件中的字符串都是正确的,并且它似乎只发生在单选按钮的文本中。有人对此有任何见解吗?
I have an Android app that is localized for English and Spanish. When you install in English and view it in English, everything works. When you install it in Spanish (the phone's locale is set to Spanish before APK install) and view it in Spanish, everything works. The oddities happen when you install it in one language, flip to the other and then run the app. The radio button text refuses to change from the language it was on install. I have verified that the strings are correct in both strings.xml files, and it only seems to be happening with the text for radio buttons. Does anyone have any insight into this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是已报告的错误。
It's a reported bug.