I
I
Ivan Kashkarov2013-11-14 15:00:47
Cocoa
Ivan Kashkarov, 2013-11-14 15:00:47

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

5 answer(s)
I
Ivan Kashkarov, 2013-11-26
@kashkaroff

All figured out. You can get everything through nibunlocker.

A
Alexander, 2013-11-14
@alexyat

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!

I
Ivan Kashkarov, 2013-11-14
@kashkaroff

Thank you. Just assumed automatic translation of MainMenu elements when adding localization. (eg About -> About the program).

A
Alexey Storozhev, 2013-11-17
@storoj

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)

I
Ivan Kashkarov, 2013-11-19
@kashkaroff

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 question

Ask a Question

731 491 924 answers to any question