strings.xml 管理工具
我正在寻找一个工具来管理我的 strings.xml
以本地化字符串。该工具应显示哪个翻译中缺少哪个字符串。 该工具必须免费用于商业用途。有什么我可以用的吗?
我对这样的工具的搜索仅出现 http://developer.motorola.com/docstools/ motodevstudio/下载/ 但如果我理解正确的话,这似乎不能免费用于商业用途。
I am looking for a tool to manage my strings.xml
to localize String. The tool should show which string are missing in which translation.
The tool has to be free for commercial use. Is there something I could use?
My searches for a tool like that only showed up http://developer.motorola.com/docstools/motodevstudio/download/
But this seems to be not free for commercial use if i understood it right.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Lint 是 Android SDK 中包含的一个工具(因此可以免费用于所有用途,无论是商业用途还是其他用途) )并为您提供缺失翻译的列表。它可以在 Eclipse 中从命令行运行,并且可以生成 HTML 报告。
例如,从项目根目录中的命令行:
生成受支持语言之一缺少的任何 .xml 文件中所有字符串的列表(由至少一个带有语言后缀的文件夹表示)。
Lint is a tool included with the Android SDK (and is therefore free for all use, commercial or otherwise) and gives you a list of missing translations. It can be run in Eclipse, from the command line, and can generate HTML reports.
For, example, from the command line in your project's root directory:
produces a list of all strings from any .xml file that is missing from one of the supported languages (denoted by at least one folder with a language suffix).
您可以尝试 Microsoft 的 XML Diff。我不确定您是否可以将其用于商业用途(并不是说您不能在网站上使用)。
You can try XML Diff from Microsoft. I'm not sure if you are allowed to use it commercially though (it doesn't say that you can't on the website).
好吧..我会做类似的事情 -
说 value/strings.xml 是你的主文件
它拥有一切。然后运行它并
与其余文件进行比较....
cd res
find . -name strings.xml -exec diff -u values\/strings.xml {} \;
至少应该是其中的一部分。
希望它能有所帮助。
well.. I would do something like that -
say values/strings.xml is your master file
which has it all. then just run through it and
compare to it the rest of the files....
cd res
find . -name strings.xml -exec diff -u values\/strings.xml {} \;
that should be a part of it at least.
hope it helps abit.
您可以使用网络服务Crowdin。它将显示哪些字符串需要翻译、哪些语言需要翻译,以及百分比。
You could use the web service Crowdin. It will show which strings are left to translate, for which languages, with percentages.