MatterGoal
MatterGoal

Reputation: 16430

iOS app localization for a single Language

I look into every answers on stack overflow related to that argument but i can't find something useful for my situation, so i try to create a more specific question:

I have to create an application localized in Italian Language only, here my steps:

enter image description here

In my opinion this would be the correct way to set an Application for a single language (different by the Default English).

But looking into Target build phases I found that infoPlist.string is no more available: enter image description here

That is extremely strange because i can compile my project with no error...

At the end this procedure would results in filling "Language" property in iTunes app area with "Italian" and not with "English".

So, I wonder if my steps are correct or if I commit some errors. What do you think about this procedure ?

Upvotes: 1

Views: 1993

Answers (1)

Clafou
Clafou

Reputation: 15410

If you are doing a single-language app which only ever shows Italian, then you don't need localization at all. Just enter all your strings in Italian! It's still good practice to use a localizable.strings file and call NSLocalizedString instead of using hardcoded strings in your code so that you don't have to make code changes if one day you do decide to localize your app. But for now you can remove everything under Localizations in XCode and just make sure that the native region (CFBundleDevelopmentRegion) in your info.plist file is set to Italy. You'll probably find a setting in XCode that sets this for you if you root around the project's target settings.

Upvotes: 3

Related Questions