LEARN@IGP IGP:Digital Publisher Management

Infogrid Pacific-The Science of Information

24

i18n

Main | Maintenance | i18n

IGP:Digital Publisher (DP)contains the translation maintenance tools for localization of the application interface(DP) as well as the IGP: Reader/Writer (RW) interface.

This approach focuses multi-lingual tasks into one application rather than dividing it across multiple applications and processes. It also makes the task of localization accessible to "normal" users through a relatively intuitive interface and localization terms are easy to review and change as required.

In this section, we will learn how to add a new language and create a Translation List of the new language. We will take Polish as our example language.

A new language for localization of IGP:Digital Publisher application interface can be created by following the steps given below.

  1. Log on to IGP:Digital Publisher.
  2. Go to the Internationalization/Localization (i18n) page under Maintenance.
  3. Select the application to localize.
  4. Create the Translation Language.
  5. Create Translation List.
  6. Edit Translation List.
  7. Update and Publish the translated terms.
  8. Click on the Language Selector located in Top Right toolbar in any DP page.
  9. Select the language and see the reflected change in the interface.

Create a Translation Language

To Start

  1. You must have maintainer privileges to create a new Translation Language.
  2. From the Main Page, click on i18n under Maintenance
  3. This action will transfer you to the Internationalization-Localization Page.
  4. Choose the application you want to localize.
  5. The i18n page displays a Drop-down menu that features a list of languages along with their respective Language code.

To create a Translation Language, follow the steps given below.

  1. From the List of languages in the Dropdown menu, select the language you want to create a translation of to localize the application interface.
  2. To create translations of the language, select the language and click Create.
  3. To go back to the Maintenance or the Main page without creating a Translation, click on the respective buttons that are found as Breadcrumbs on top of the Drop-down menu.

Generate Translation List

After adding the language to the list of Edit Translations language list, we can now generate all the terms which are to be translated in to the new language. This process is known as creating a Translation List.

To Start

  1. You must have maintainer privileges to generate a new Translation Language.
  2. From the Main Page, click on i18n under Maintenance
  3. This action will transfer you to the Internationalization-Localization Page.
  4. Choose the application you want to localize.
  5. The i18n page displays a Drop-down menu that features a list of languages along with their respective Language code.

To generate a Translation List, follow the steps given below.

  1. From the top right toolbar, click the Edit button.
  2. The Edit translations Drop-down menu will appear on the screen.
  3. From the Drop-down menu select the particular language for which you want to generate the Translation List.
  4. To generate the Translation List, click Edit.
  5. A new page will open that displays the lists of terms and a respective blank field on the right of its term.

Edit Translation List

Here in this section of the manual, you are to actually translate each terms and phrases to the new language manually. Reviewing the things we have done till now; we have added a new language as well as generated the list of terms to be translated.
Now, you can translate all the generated terms in to the new language. This action will be known as Editing Translation List.

To translate only specific terms in the interface, type the term in the Filter Bar and click, Show.

To edit a Translation List, follow the steps given below.

  1. The new page shows the list of terms to be translated from the base language. Each term has a blank field on its right.
  2. Key in the translation of the terms in the blank field. For eg. If the translation of the term "Account Configuration" in Polish is "Konfiguracja konta", then fill up the blank field on the right of the term, "Account Configuration" with "Konfiguracja konta".
  3. After making all the necessary translations, click Update to store the translated terms in the database.
  4. To reflect the changes and to view the translated terms, click Publish.
    Note: You can translate only the terms that you want.There is no hard and fast rule, that all the terms need to be translated.

The localization of DP Application as well as the interface of IGP:Reader/Writer is the same. However, IGP:Reader/Writer needs an additional process for the localization of the buttons in the R/W interface.

Localize the buttons of R/W interface

To Start

  1. You must have maintainer privileges to localize the buttons of Reader/Writer.
  2. From the Main Page, click on i18n under Maintenance
  3. This action will transfer you to the Internationalization-Localization Page.
  4. From the Application page, select IGP:Reader/Writer.
  5. The i18n page displays a Drop-down menu that features a list of languages along with their respective Language code.

To localize the buttons of R/W interface

  1. From the top right toolbar, click the Edit button.
  2. The Edit translations Drop-down menu will appear on the screen. Below the Edit Translation Dropdown, 3 Properties JS files are displayed.
  3. Click on any one of them to download. The Properties JS file will be opened in a Text Editor.
  4. Save the file in your local system after renaming it as "translations_(language code).properties".
    So, if you are doing a translation for Chinese, the file name should be "translations_chi.properties".
  5. Edit the terms on the right side of the Equality sign(=).
  6. Upload the edited Properties JS file by clicking the Browse button in the same page.
  7. Click Save to finish the localization of the IGP:Reader/Writer buttons.
  8. Check to see the reflected changes by opening Reader/Writer after changing the IGP:DP application to the particular language from the dropdown menu in the top-right side of any page of the application.

Delete a created Translation Language

You can also delete a created Translation Language. But when you delete a translation language, the list of translated terms also get deleted. So approach with caution and think carefully before deleting any language from the Language List.

To Start

  1. You must have maintainer privileges to delete a created Translation Language.
  2. From the Main Page, click on i18n under Maintenance
  3. This action will transfer you to the Internationalization-Localization Page.
  4. Choose the application you want to localize.
  5. The i18n page displays a Drop-down menu that features a list of languages along with their respective Language code.

To delete a language, follow the steps given below.

  1. From the top right toolbar, click the Edit button.
  2. The Edit translations Drop-down menu will appear on the screen.
  3. From the Drop-down menu select the particular language you want to delete from the Translation List.
  4. To delete the language, click Delete.
alt

Warning: You cannot recover a Translation List of a Language once it is deleted. The list of translated terms of the language will also get deleted. So, proceed with caution when it comes to deleting a Translation List.


View the Localized IGP:Digital Publisher application

  1. Log on to the IGP:Digital Publisher application.
  2. From the Top Right Toolbar, click on the Dropdown menu to see the list of available languages.
  3. To view the interface in the new language, select the language.

Now, your IGP:Digital Publisher application interface has been translated to your choice of language. Follow the same steps to add a new language.