Voting: 
Vote up!
0 Votes
2 Replies
Answered

Where/how are the i18n settings stored?

Question asked by Jordan Wood on Jul 24, 2017 12:48 EDT

Hello, I am working with a Kony Visualizer project which already has i18n keys defined for en-US and fr-CA. I can see these i18n keys defined in the following files:

  • /resources/i18n/android_properties/en_US.prop
  • /resources/i18n/android_properties/fr_CA.prop
  • /resources/i18n/iphone_properties/en_US.lproj/Localizable.strings
  • /resources/i18n/iphone_properties/fr_CA.lproj/Localizable.strings
  • /resources/i18n/spa/en_US.js
  • /resources/i18n/spa/fr_CA.js
  • /resources/i18n/xml/en-US.xml
  • /resources/i18n/xml/fr-CA.xml
The i18n settings are not loading into the Visualizer project though, and when I build the project, the above files are overwritten as empty. I feel like I must be missing an essential file that generates the above files, but I can't tell where that file would be located or what format it would be in. Following the i18n documentation does not provide many specifics about this information. What file do I need to find/create/generate in order to stop clearing out the above files? Regards, -Jordan

Vote up!
0 votes
Vote down!

Hi.

You can create i18n by click edit in IDE . Then click internationalization (i18n)

(please see attached file)

good luck.

Replied by: Jul 25, 2017 02:59 EDT
Kony Answered Certificate
Vote up!
1 votes
Vote down!

Hi Jordan,

there should be a file at the root level of your Kony-project: <Project-Name>/i18n.properties
In this file the i18n-information is stored and this file is used to generate all other i18n-files in the resources folder.
If it is not there, i guess that is why Kony cannot load the i18n-settings. I don't think it is so easy to recreate it from the generated files because it has a different syntax. So maybe check if you can get the original again.

regards,
Robin

Answered by: Aug 02, 2017 02:18 EDT