tinyglot.pl 1.1 review
DownloadThis script is useful for maintaining localization of .strings files in Cocoa applications. It compares two files (the new unlocal
|
|
This script is useful for maintaining localization of .strings files in Cocoa applications.
It compares two files (the new unlocalized one and the old localized one) and merges their strings into a new file. New strings, that have no translation, are put at the end of the file so that it's easy to complete them.
This script reads and generates both plain .strings files (UTF-16 encoding) and XML plist files (UTF-8) encoding.
Three arguments are required when calling tinyglot.pl:
old_file: the latest localized file
new_file: the newest unlocalized file
output_file: where the two above are merged to (keys will be taken from new_file and values will be taken from old_file)
Installation
Just rename the file to tinyglot.pl and then do a "chmod 755 tinyglot.pl".
Requirements:
Unicode::String (available from CPAN)
To install it, just type "perl -e shell -MCPAN" and then "install Unicode::String".
tinyglot.pl 1.1 keywords