I want to translate my app in German and Japanese. I have read tutorials to make it but I cannot find the Base Internationalization box that I am supposed to check in the info tab of my app. Main parts in my info tab are "custom IOS target properties", "document types", "exported UTIs"... There is nothing about Localization.
I guess I have to manage it in the "custom IOS target properties" but I don't know how. There I have added the key "Localizations" with "English", "German" and "Japanese" values, and I also have a key "Localization native development region" with value "en".
Then I have added my Localizable.strings file in Base.lproj but in the File Inspector I can only see "Base" and "English" as Localization, there is nothing about German and Japanese.
I have also noticed that when I go to Editor > Add Localization, I cannot select any language.
Do you see what's wrong?
Thank you,
Alex
Select your project file in Project Navigator, and select your project in the project and targets list. Open Info tab, and click “+” button under Localizations section. Then choose a language you want to support from the dropdown list shown. XCode opens a dialog showing resources to be added for the new language.
As Xcode supports a wide range of programming languages such as C, C++, Java, and Python, you can develop apps using these platforms.
Let us move on to create a string file called 'Localizable' that will hold the text we want to localize. Choose File → New → File ..., select Strings File under Resources, and click Next. Name it Localizable, then click on Create.
lproj folder is a directory that stores language-specific resources. See Localized Resources in Bundles and Language and Locale IDs for details. If none of the user's preferred languages are supported by your app, iOS chooses the language matching your app's development region ( CFBundleDevelopmentRegion ).
Click on the project and add Localization languages
And then select your storyboard -> File inspector
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With