Click here to Skip to main content
15,895,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,
I'm trying to Globalize the mobile application. Currently application supports English and Portuguese language.

Problem:
When I change the regional settings to Portuguese, the phonegap plugin still displays English text.

EQ. When I click photo using camera, it display text like
1. Retake 
2. Use Photo

Is there any way to control this text based on globalization?

Thanks in advance.
Posted

1 solution

I got solution for it.

This is not cordova or phonegap releated changes.

Since it is iOS project, so I needed to make changes in the '.plist' file of Xcode.
XML
<key>CFBundleLocalizations</key>
<array>
  <string>en</string>
  <string>pt</string>
</array>


Now above changes makes application support both English and Portuguese language in cordova plugin.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900