Adding supported languages to your iPhone app on Build

  • 3
  • Idea
  • Updated 5 years ago
  • Implemented
To add a supported language to your app, add the following to your PGB config.xml:



it
fr



The effect of this is that built-in features (such as the camera plugin) will be rendered using whatever language the user has set their iPhone to, as long as it is included in your Localizations array (as above).
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes

Posted 5 years ago

  • 3
Photo of Marco Marsala

Marco Marsala

  • 48 Posts
  • 2 Reply Likes
Sorry but the forum stripped away the tags from your reply.

Where to insert the string "it" in config.xml?

Here they officially told me it is not possible: http://community.phonegap.com/nitobi/...
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
<gap:config-file platform="ios" parent="CFBundleLocalizations" mode="replace">

<array>
<string>it</string>
<string>fr</string>
</array>
</gap:config-file>
Photo of Benjamin Lupu

Benjamin Lupu

  • 33 Posts
  • 2 Reply Likes
Hi Amir,

Quick questions:
- Do we have to do something similar for Android? (and Windows?)
- I found this list of supported languages for iOS: http://www.ibabbleon.com/iOS-Language... / could you confirm that it is complete?
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
- Do we have to do something similar for Android? (and Windows?)
>>Yes. Android configuration not yet available but WinPhone is ready to use

- I found this list of supported languages for iOS: http://www.ibabbleon.com/iOS-Language... / could you confirm that it is complete?
>>Not sure but to be safe, always refer to authoritative source: https://goo.gl/2mPWhb


Hope that helps
(Edited)
Photo of Benjamin Lupu

Benjamin Lupu

  • 33 Posts
  • 2 Reply Likes
It does - Thx Amir - It would be VERY nice to have it for Android :-)