문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top