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)



Version history: