Localization in XIBS didn't work

iOS application has two different features (A & B). One feature (A) is localized for all languages and other feature (B) is localized for only Japanese.

When the preferred lanugages in the settings has the following order, then the xibs with respect to feature (B) shows text in English. But those strings that are loaded from localizable.strings shows Japanese.

1. French (or any other lanugage except English / Japanese)

2. Japanese

3. English

Is this the expected behaviour? If not then how can the XIBs can be made to load the preferred language

I can’t explain the specific problem you’re seeing because it’s not clear what languages your main app is localised for. However, this:

iOS application has two different features (A & B). One feature (A) is localized for all languages and other feature (B) is localized for only Japanese.

is going to cause problems. Apple platforms don’t support the concept of partial localisation. All parts of the app are expected to be localised for the set of languages supported by the main app. If you don’t follow this guideline you’re going to hit some weird edge cases.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Localization in XIBS didn't work
 
 
Q