According to the docs, the preferredLocalizations
property of a Bundle returns:
An array of NSString objects containing language IDs for localizations in the bundle. The strings are ordered according to the user's language preferences and available localizations.
However, I have played around with different scenarios and setups, and I can't get the preferredLocalizations
array to include more than one element. I have tried a combination of
- Adding multiple localizations to my app
- Adding multiple preferred languages to my phone (via Settings).
But it always return a single-element array.
This makes me ask the following questions:
- Is it really possible that
preferredLocalizations
could return more than one element? - If so, can you give me a sample setup to make that happen?