Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

info.plist bundle display name localization

There are a lot of posts on this but all seem to be an out of date method? It seems its done using info.plist and adding localization to it and then more info.plist files are created within for each language. It seems to be working but only ever displays the English Bundle display name no matter what system language I use. Not sure what else needs to be done. I checked it on both the simulator and a device.

enter image description here

like image 560
Hasen Avatar asked Apr 17 '16 10:04

Hasen


1 Answers

you need to create "InfoPlist.strings" and add languages which you want to support there, then set your bundle name and display name as the following for each language

"CFBundleDisplayName" = "App Name";
"CFBundleName" = "App Name";

How to enable Localization and add more language to your project.

  1. Choose your project on the tree.
  2. Choose your project.
  3. Info Tab -> Localizations.
  4. Choose which language you want to support.

then on your strings file, when you choose it, on right side you can find which languages you want to support into this strings file.

like image 199
Mortgy Avatar answered Sep 27 '22 19:09

Mortgy