Problems with localization IOS Settings.bundle

From what I can read, I'm not the only one who has this problem; except this happens only in my Settings.bundlein my application everything is fine ...

My application is localized in English (initial) and French.

My Root.stringsfile is not called at all, for English and French. If I put my iPhone in French, the default settings package will be assigned to the header declared in mine Root.plist. Now, in any language in which my iPhone is installed (English or French), let's say I add a group called “hello” and set the corresponding line to “world”. I will just get "hello" as my "localized" string ...

thank

+3
source share
1 answer

I struggled with the same problem. Using version 5.0 of the iOS simulator and Xcode 4.2, localizations do not take effect when the Root.strings file is modified.

My installation has a Settings.bundle file that contains Root.plist and a directory for each supported language containing the Root.strings file:

Settings.bundle:
    Root.plist
    en.lproj:
        Root.strings
    fr.lproj:
        Root.strings

This is almost the standard setting that Apple documentation offers.

When the simulator uses English localization, I change the corresponding Root.strings file and recompile, the changes do not take effect. But if I uninstall the application, clean up the project and re-execute, then the localization takes effect. This is similar to an Xcode or iOS Simulator bug.

: , Xcode, .

+7

All Articles