用于Apple/iPhone应用程序本地化的可本地化字符串文件具有以下格式:
/* COMMENT */ "KEY" = "VALUE"
请注意,KEY在给定的字符串文件中是唯一的.
COMMENT是可选的,但它可以帮助翻译者提供一些额外的信息.
例:
/* Menu item to make the current document plain text */ "Make Plain Text" = "Make Plain Text"; /* Menu item to make the current document rich text */ "Make Rich Text" = "Make Rich Text";
我想差异/合并两个字符串文件,并可选择排序那种文件.如果在进行这些操作时保留评论会很棒.
格式非常简单,我可以写一个让我们说一个python脚本来做到这一点,但如果有人已经这样做了,我宁愿不重新启动方向盘;)
你知道一个可以操作字符串文件的工具吗?