(This is not a Q&A)
Hello,
I have made a small PHP tool to help checking translation.
Features are:
1. Check for loss of translation
Count and compare the number of lines: original(English) and translated.
2. Compare lines
Extract the lines: original(English) and translated for easy review.
Sample output:
--------------
*** Error: Line with key 'Main.field.3' is not in the translated one
aaaaaaaa bcccdddd eeeeeeeeeeee ffgghhhhhhiiiiiiijkllll:mmnnnnnnn oooooooo ppqrrrrrrsssssstttttttttuuu vwwxyyz
aaaaaaaa bcccdddd eeeeeeeeeeee ffgghhhhhhiiiiiiijkllll:mmnnnnnnn oooooooo ppqrrrrrrsssssstttttttttuuu vwwxyyz aaaaaaaa bcccdddd eeeeeeeeeeee
Filename
*** Error: This line has no translation
Kind
Typus (translated ver. of "Kind")
:
--------------
Usage:
1. Edit the line #9 to specify your lang file.
2. execute "php check.php" on the cmd.exe.
The tool can be downloaded from
http://www29.atpages.jp/~butty/MB-translate/check-mb-lng/check.ph_(Please replace the suffix with ".php")
May this tool help you.
butty