本地化多plattform的项目 - 合并字符串的文件 [英] Localize multi plattform projects - Consolidate string-files

查看:144
本文介绍了本地化多plattform的项目 - 合并字符串的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的多plattform的项目,我们有不同的符号和文件格式(IOS .string,安卓的.xml等)多个本地化文件。 现在,我们要本地化他们在许多语言,但在不同的文件中,也有许多相同的字符串。所以任何人都知道的一个很好的方式来巩固这些字符串,文件到一个大的本地化文件,一方面这对翻译机构,然后splut它们备份到不同的文件?

In our multi-plattform projects, we have multiple localization files with different notation and file format (iOS .string, Android .xml, etc.). Now we want to localize them in many languages, but in the different files, there are many equal strings. so anybody knows of a good way to consolidate these strings-files to one big localization file, hand this to the translation agency and then splut them back up into the different files?

任何人都知道一个很好的工具或方法吗?

Anybody knows a good tool or approach?

推荐答案

我上的的iOS / Android项目与20的翻译,我们用一个Excel US preadsheet保留所有的翻译字符串的轨道。在*然后使用我的自定义自动地生成.strings文件X code,而Eclipse中的* .xml文件的VBA宏。

I've worked on an iOS/Android project with 20 translations, and we used an Excel spreadsheet to keep track of all the translatable strings. The *.strings files for XCode and the *.xml files for Eclipse are then automagically generated using my custom VBA macro.

我已经把一个例子的Excel US preadsheet用VBA宏在这里: http://members.home.nl/bas.de.reuver/files /multilanguage.zip

I've put an example Excel spreadsheet with VBA macro here: http://members.home.nl/bas.de.reuver/files/multilanguage.zip

您可以将您现有的.strings或.xml文件为s preadsheet格式(键值对,制表符分隔)与下面的工具。然后,你可以发s preadsheet到您的翻译,他们填补了翻译值的列,它发送回来,你可以简单地生成新的翻译文件。

You can convert your existing .strings or .xml files to spreadsheet format (key value pairs, tab separated) with the tool below. Then you can send the spreadsheet to your translators, they fill in a column of translated values, send it back and you can simply generate your new translation files.

http://members.home.nl/bas.de。 reuver /文件/ stringsconvert.html

这篇关于本地化多plattform的项目 - 合并字符串的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆