Thursday, December 14, 2023
HomeiOS Developmentios - Why getting mistaken software title proven below its icon within...

ios – Why getting mistaken software title proven below its icon within the dwelling display screen?


I’ve an odd state of affairs when utilizing totally different languages in my app.

Let say I’ve these InfoPlist.strings

  • English
  • English (Canada)
  • English (United States)
  • English (United Kingdom)
  • French
  • French (Canada)
  • French (France)

In every InfoPlist I’ve a line much like the one under after I establish every combinaison. For instance, right here, it’s for English (Canada):

"CFBundleDisplayName" = "EN-CA";

In XCode, I configured the English because the default one. It will change the developmentRegion area within the undertaking.

I set up the appliance to the iPhone with iOS 17.2

Then, I begin to change the iOS language and area from the Settings->Basic->Language & Area.

It’s right here the habits turns into unusual and the place I want your assist to grasp.

Right here what I see for the app title below the app icon when altering the cellphone language and areas:

(Language (Area): App title)

  • English (Canada): EN <– WHY not EN-CA?
  • French (Canada): FR-CA
  • French (United States): FR
  • English (United States): EN <– WHY not EN-US?
  • English (United Kingdom): EN-GB
  • English (France): EN-GB <– WHY not EN?
  • French (France): FR
  • English (United Arab Emirates): EN

And now, including to that, if I attempt to delete the appliance, the alert message will include the appropriate software title. For instance, when making an attempt to delete the primary instance, the appliance title can be “EN-CA”

Anyone can clarify to me what’s going on behind the scene?

Thanks



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments