martnst / localize-mainmenu

Commandline tool that localizes the common main menu items of an OS X app automatically.
MIT License
42 stars 12 forks source link

Added new language files generated with "extract-localization". #8

Closed hendriks73 closed 9 years ago

hendriks73 commented 9 years ago
martnst commented 9 years ago

Hi @hendriks73, sorry for the delay. On thing I have notice: The language files need to be named precisely as localize-mainmenu will use the exact same string given as target-language within the XLIFF from Xcode. So e.g. es_MX needs to be es-MX.

hendriks73 commented 9 years ago

Hey @maremmle, I changed the file names to adhere to whatever localize-mainmenu uses. Does that work for you? (also change the corresponding java code that created the files)

martnst commented 9 years ago

Thx @hendriks73 I am not sure about the chines ones … I think uses soothing with 4 characters, like zh-Hans and all other sorts of different codes.

hendriks73 commented 9 years ago

Yep.. the Chinese is tricky. IIRC cliff uses zh-Hans, but in existing apps it's always zh_CN — see for example Chess.app.

martnst commented 9 years ago

Okay… I will see if issues will pop up