Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Avoid translating standard menus items in XCode project

I have an XCode project, with the XIB interface files built using Interface Builder. I'm building localized XIB files by using ibtool to extract strings, translating them, and using ibtool again to build localized XIB files.

However, doing this means I have to translate all items in the application menus, including those that are completely standard (File, Save, Open, Minimize, etc.). Is there a way to avoid that?

like image 581
F'x Avatar asked Nov 17 '10 15:11

F'x


2 Answers

i've developed a solution to this problem.

https://www.corecode.io/index_opensource.html

look for "Translator", it will translate your MainMenu.strings file into a dozen languages with the standard Apple translations for the standard menu item strings.

if you find some strings or languages missing that Aapple has included in their base apps, please send a patch over.

like image 182
user1259710 Avatar answered Sep 18 '22 14:09

user1259710


So, apparently no way around this.

like image 26
F'x Avatar answered Sep 21 '22 14:09

F'x