Localizing CFBundleDisplayName based on specific region

Hi everybody,

My team and I are currently working on an app that requires us to use localizations for the CFBundleDisplayName property in info.plist. However we are running into some issues ourselves, we need to localise the CFBundleDisplayName property for two specific countries:

  • Netherlands
  • Belgium

We've tried to use the String catalog and we've added the corresponding languages/regions there:

  • nl-BE (CFBundleDisplayName = x)
  • nl-NL (CFBundleDisplayName = y)

However the nl-BE localization does not seem to be used when changing the device language to Dutch (Belgium). It uses the nl-NL (y) value for the CFBundleDisplayName.

Is it possible to use CFBundleDisplayName localizations for specific regions that use the same language? such as Belgium and the Netherlands. If not I fear that we need to build two apps...

Is it possible to use CFBundleDisplayName localizations for specific regions that use the same language?

The answer is yes. As an example, if I use a different app display name for English (India) or English (Australia), I do see that iOS picks up the right localized name when I switch the system region to India or Australia.

However, if I provide a name for English (Hungary), iOS does not pick it up. Instead, it falls back to English (UK). This is pretty similar to the issue you described.

In your case, my best guess is that the system doesn't completely support nl-BE, and so has it fall back to nl-NL.

I unfortunately don't see anything you can do from the app side to change the behavior, and can only suggest that you file a feedback report – If you do so, please share your report ID here; I'd be happy to route it to the localization team.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Localizing CFBundleDisplayName based on specific region
 
 
Q