on 06-11-2014 11:43 AM
Hello Experts
Can any one have idea for conversion the hwc sup App from English to other language(French) which was built in SUP2.1.3?
Thanks in advanced for your suggestion.
Thanks
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you restarted the application or device after you changed the device language to French? The HWC will pick up the current language when it is started. If you change the device language when the application is already launched, it is not going to pick it up until the next time it is restarted.
The current device language is passed into your application on the query string with the lang parameter. You can display the value of this parameter in an alert to double check the app has the language that you think should be displayed.
Then make sure your localized application has a Locale Properties file that matches what the device is showing for lang.
Localizing a Hybrid App Package
Thanks,
Andrew.
Please also share the contents of your locale properties file.
Editing the Locale Properties File
Thanks,
Andrew.
Hi Andrew
I have change the Localization as French and deploy the project.
After that I share the file to you.It will contain only English text.
Is it like that I will change the file content manually to French Language?
I am setting the Localization filr as follow.
The Overwrite Existing file Checkbox is Disable.
(Please check the attach screen)
Thanks
Anil
After you have created the locale properties file for a different language (French in your case), you will have a new COPY containing all the resources in English. You then need to translate the English resources to your target language by editing the French locale properties file that you just created.
Editing the Locale Properties File
The IDE is not going to automatically translate all strings if that is the expectation.
Thanks,
Andrew.
Please check this document which explains how to achieve the localization in Hybrid Web Container .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.