Question

I have create a Localizable.strings file with 2 language, en & jp.

en: "key"="english";

jp: "key"="日本";

It works good when using en & jp.

_title.text = NSLocalizedString(@"key",nil);

But when I using other language,like German,the label will display key in the view.I want to show the key of en strings value default.

How to set to load en when the user using other language without en & jp?

Était-ce utile?

La solution

you can create a Localizable.strings for "de", and then you can copy/paste from the "en" (if "en" was your main language you don't need to copy/paste, it will be created with the "en" strings) But it's strange, I have my apps for "en" and "es" and the default is "en". I didn't do anaything.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top