yellow
yellow

Reputation: 702

how to set iOS default localizable string for a key?

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?

Upvotes: 0

Views: 1424

Answers (1)

jcesarmobile
jcesarmobile

Reputation: 53301

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.

Upvotes: 1

Related Questions