Localizable strings file which are used for Apple/iPhone apps localization have the following format:
/* COMMENT */ "KEY" = "VALUE"
Note that KEY is unique in a given strings file.
COMMENT is optional however it can help the translator with some additional info.
Example:
/* Menu item to make the current document plain text */ "Make Plain Text" = "Make Plain Text"; /* Menu item to make the current document rich text */ "Make Rich Text" = "Make Rich Text";
I would like to diff/merge two strings files and optionally sort that kind of files. It would be great if the comments would be kept while doing these operations.
The format is quite simple and I could write let's say a python script to do that, but if somebody has already done that, I prefer not reinveting the wheel ;)
Do you know a tool that can manipulate strings file?