Answer the question
In order to leave comments, you need to log in
How to make sure that when adding a new localization to an XCode project, the program menu is on the added localization?
How to make sure that when adding a new localization to an XCode project, the program menu is on the added localization. The project is in English, I add Russian, the program menu is in English, I have to rewrite all menu items in Russian and so on with other languages.
Answer the question
In order to leave comments, you need to log in
All figured out. You can get everything through nibunlocker.
I don't quite understand what you are doing exactly, but in order to localize the program you need to: - select the main language (for example, English) - all strings that need to be translated are wrapped in NSLocalizedString(@"String to translate",nil); - add the Localizable.strings file to the project in the properties, check the box that it requires localization in the project settings, add the desired localization - Russian in the Localizable.strings file - a list of Localizable.strings (English) and Localizable.strings (Russian) appears, go to the file for Russian and write the translation of the strings that are wrapped in NSLocalizedString in this form: "String to translate"="String to translate"; All!
Thank you. Just assumed automatic translation of MainMenu elements when adding localization. (eg About -> About the program).
for ios >= 6.0, the Base Internationalization feature is available, which allows you to localize interfaces without having to set all texts with code (in order to use NSLocalizedString later)
Or can you tell me the source code of some project, more than 10 languages, so that the mainMenu is translated into languages. And then you have to turn on another language and rewrite items from a text editor :-)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question