Commit Graph

2 Commits

Author SHA1 Message Date
Matt Mower
c0f84e77d2 Run language_helper.py from inside languages dir
compare_xml.py and language_helper.py make different assumptions about
the directory from which they are called. Assume the script is run from
within the languages directory for both.

Change-Id: I4207919360d82dcd3cfbdebcff38f0e872554744
2017-02-23 20:02:05 +01:00
Ethan Yonker
d946aa470f Add language_helper.py
This script is intended to make managing the language files a
little easier.

This script reads the English and supplied other language files and
compares the 2 and reorders and rewrites the other language to a new
XML file such that all the strings are placed in the same order as
the English file. It will place commented out string lines for items
that are not present in the new file and will not include any strings
in the new file that are no longer present in the English source.
There is also a version tag that may be compared if present between
the English and other language in case a translation string changes.

Change-Id: If49d7efbf99c033d9736af971a78ed8455ac5c6f
2016-03-31 08:57:32 -05:00