I am having a problem getting localization on iOS to work the way I think it is suppose to, but this is my first foray into localization so maybe I am misunderstanding.
I have three Localizable.strings files:
Base
"TAB_TITLE_Camera" = "CAMERA";
English
"TAB_TITLE_Camera" = "Camera";
Spanish
"TAB_TITLE_Camera" = "Cámara";
NSLocalizedString(@"TAB_TITLE_Camera", nil)
iOS 6.1
On Xcode 5 with a 4th generation iPod Touch running iOS 6.1, English and Spanish seem to work, but if I change to German (or any other language without a localization file) it does not pull
from Base Localizable.strings, instead it pulls from the English file.
Why does it NOT pull from the BASE file?
Why DOES it pull from the English file?
iOS 7.1
Also, with a 5th generation iPod Touch running iOS 7.1, when I change to German it seems to pull from the last selected language that has a localization file, either English or Spanish. Huh?!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…