Samuel Murray wrote:
Samuel Murray wrote:
Do you know of a tool that can align two language XML files from CLDR to produce a two-column table with the names of languages, countries, regions, time zones etc in one language in the one column, and their translations in the other?
I'm doing another job for which this sort of thing would be incredibly useful.
Here's an example of the latest CLDR data:
http://unicode.org/Public/cldr/33.1/
In some of the folders you'd find XML files with language names. For example, the file
cldr/cldr-common-33.1/common/main/af.xml contains all the time zone names in Afrikaans, and the corresponding
en.xml file in the same folder contains all those time zone names in English. The files do not match 100%, but it's XML, and the content has the same labels in both files, so it should be possible to align at least the content that appear in both files.
If you define an XML filter using the generic XML filter of the Okapi plugin, you will be able to do the alignment with OmegaT.
Didier