Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在设计一个也支持缅甸语的安卓应用程序。但是eclipse juno不支持缅甸语,不知道如何使它工作。
您需要做的是创建一个单独的语言资源strings.xml,它将包含您在应用程序中显示的文本的所有缅甸语翻译。您还应该以类似的方式将英文文本存储在 strings.xml 中。不要在任何地方使用硬编码字符串进行显示。
现在,根据用户的语言选择,您可以使用R.string.xxx.
R.string.xxx
注意:确保将 Eclipse 文件编码为UTF-8而不是默认的Cp1252。