Translating a New Application
Translating a New Application
If you have written your own application, you might have translatable strings in new view files (.axvw). You might also have translatable strings in JavaScript (.js) and Java (.java) files.
Note: If you are adding a new language that is not currently supported, you must add the language and locale to the afm-config.xml file before extracting the strings. If you omit this step, the language is not available in the Sign-In Page selection list on the sign-in screen. See Adding Languages and Locales to the afm-config.xml File.
To translate a new application:
- If this is a new language,add the language to the \WEB-INF\config\context\compatibility\afm-config.xml file, and use the Edit Languages Table (lang_table) task to add the language to this table. See Editing the Languages Table.
- Read strings from your .axvw, .js, and .java files. For details, see Read or Write Translatable Files.
-
Add the translatable tables to the localization tables. For details, see
Read or Write Translatable Tables.
All of the strings in your application's user interface are now in the localization kit.
You can now:
- Export the localization extract files. See Exporting Localization Extract Files.
- Make your translations in the extract file.
- Import the localization extract files. See Importing Localization Extract Files.
- Write the localization tables to the translatable tables. See Reading or Writing Translatable Tables
- Write the translated files. See Reading or Writing Translatable Files .