OK, the purpose of this question is not strictly related to programming, but it is a question that programmers can answer using programming tools, and programmers can find useful answers here. Bear with me.
I find changing the system language in Mac OS X a useful way to increase my learning of natural languages, such as French. However, sometimes I find a menu item or dialog box in French that I cannot understand, and it is not easy for me to translate or translate the system language into English. But I know that the English translation is hidden somewhere in the localization file and somehow displays the French phrase. Therefore, I want to extract all the text from all the localization files in order to develop a mapping of this phrase in English = this phrase in French so that I can easily find it.
I know that localization files are stored in something like Localizable.strings, lproj files and nib files, but I cannot make a head or tail on how they are stored or how to work with them. I can program, but I did not write anything in Xcode. All the information I can find is for Mac OS / iOS programmers to localize their software, and not for hackers to extract localization data already made.
How can I extract foreign language information in plain text from Mac OS X and third-party software localization files? Thank!
source
share