I am implementing localization in my app.
Here is the code,
C_TITLE.text = NSLocalizedString(@"C_TITLE", nil);
// strings files
localizable.strings (English)
"C_TITLE" = "English";
localizable.strings (French)
"C_TITLE" = "French";
But the label displays text “C_TITLE”, which is key not value.
I done localization in my previous app but not faced this issue.
Code is working in simulator but not on device. Please help…
Thanks.
I’m pretty sure that it’s spelled Localizable.strings, not localizable.strings. That would explain why it works on the Simulator and not on the device as the OS X file system is not case sensitive but the iPhone’s is.