My application is localized in English (mainly) and French.
For English and French, my Root.strings file is not called at all. If I connect my iPhone Put in French, the settings package will default to the title declared in my Root.plist. Now use any language (English or French) set by my iPhone, suppose I add a group named “hello” and add The corresponding string is set to “world”, I use “hello” as my “localized” string…
Thank you
My settings have a Settings.bundle, which contains Root.plist and a directory for each language supported, which contains the Root.strings file:
Settings.bundle:
Root.plist
en.lproj:
Root.strings
fr.lproj:
Root.strings
This is almost the standard setting suggested by the Apple documentation.
When the emulator uses English localization, I changed the matching Root.strings file and recompiled, these changes did not seem to take effect. However, if I Uninstall the application, clean the project, and re-run, the localization will take effect. It seems to be an Xcode or iOS simulator error.
My solution: uninstall the application from the simulator, and then from Xcode again Run it to see the changes.
From what I can see, I am not the only one having this problem; except that this only happens in the Settings.bundle in my app Everything is fine…
My application is localized in English (mainly) and French.
For English and French, my Root.strings file is basically Nothing is called. If I put my iPhone in French, the setup package will default to the title declared in my Root.plist. Now in any language (English or French) set by my iPhone, suppose I add one Name the group “hello”, and set the corresponding string to “world”, I use “hello” as my “localized” string…
Thank you
I have been trying to solve the same problem. Using the iOS simulator and the 5.0 version of Xcode 4.2, when the Root.strings file is changed, the localization does not seem to take effect.
My settings have a Settings.bundle, which contains Root.plist and a directory for each language supported, which contains the Root.strings file:
Settings.bundle:
Root.plist
en.lproj:
Root.strings
fr.lproj:
Root.strings
This It is almost the standard setting suggested by Apple documentation.
When the emulator uses English localization, I changed the matching Root.strings file and recompiled, these changes did not seem to take effect. However, if I uninstall the app Program, clean the project, and re-run, the localization will take effect. It seems to be an Xcode or iOS simulator error.
My solution: uninstall the application from the simulator, and then run it again from Xcode To view the changes.