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.
是否有工具可以让我检查本地化string.xml文件是否完整。例如,values-de/strings.xml 或values-jp/string.xml包含所有包含的条目values/strings.xml。
string.xml
values-de/strings.xml
values-jp/string.xml
values/strings.xml
在 ADT 20 中,您有一个 Lint 标记,它会告诉您是否有一些不完整的字符串文件。要查看 Lint 警告,您必须转到 Window -> show View -> Other -> Android -> Lint warnings。
使用Android Lint工具。
如果您使用 Eclipse,它可以从菜单栏获得(屏幕截图上的右键)。