OK, bu mening asabimga tushdi!
Men fayl bilan noto'g'ri ish qilgan bo'lishim kerak, lekin mening ilovam "tasavvur" lokalizable.stringsdan captionlarni ishlatadi. Faylning mazmunini buyon o'zgartirdim, ammo barcha o'zgarishlar e'tiborsiz qoldirildi.
- I get the captions the "regular" way:
- any change to the Localizable.strings is ignored
- if I delete the Localizable.strings reference and file, the app still displays proper captions!
- With the nslocalizable.strings deleted, I've searched for any file containing my captions and got nothing, yet when I build they are displayed.
- I've tried resetting the emulator, cleaning my project.. nothing. Still displaying old captions
- Same issue on my iPhone
- When I distribute the IPA over the air, this time, captions aren't displayed, just the keys
Iltimos yordam bering!
Following the comment from DarkDust I've deleted the app from iPhone, cleaned the project, built and run and the app now displays keys. Quite normal. But when I add a new Localizable.strings, it's being ignored. If it helps the code below logs
NSLog (@ "% @", [[NSBundle bundleForClass: [self-class]] pathForResource: @ "Localizable" ofType: @ "strings"]);