SceneComposer Translator Plugin

Globalization License

If the Translator Plugin files are present but no translation features are accessible in Scene Composer, please ensure that the Globalization license is acquired. Refer to the menu Help > Licenses.

Create and Manage Cultures and Translatable Texts

This page describes the UI of each menu and feature for multi-languages settings. Please refer to the explanation on here for details on how to configure multi-languages settings using this feature.

The translator plugin is fully integrated into SceneComposer. The SceneComposer toolbar provides an icon for opening the [Culture Solution Options] dialog as well as a drop-down menu for selecting an already created culture.

drawing-4-1696313207.png

In addition, the [ Language ] menu on the menu bar contains the following five menus.

drawing-4-1696311151.png

Culture Solution Option

To create text in different languages, a culture must be created. This is done by clicking on the Culture Solution Options button on the toolbar.

drawing-4-1696313073.png

See Solution Options > Culture for a detailed description of each item in the dialog that appears.

Language Table

Through the Language Table, you can configure the text that will be displayed when you select a language configured in Culture. Here, you can add, edit, or delete translated texts for each Culture. The translated text is the text that will be displayed according to the selected Culture in Scene Composer.

The settings can be accessed from the [ Languages > Language Table... ] menu bar. The settings are made in the Language Tables dialog, which can be opened from the menu bar [ Languages>Language Tables... ].

drawing-4-1696313046.png
(1) Search field

You can search for a specific text entry by entering any string into the search field.

(2) Unused only check box

When this check box is enabled, only text that is not assigned to a text object in the solution will be displayed.

(3)

Culture Solution Option button

Click this icon to display the Cultures dialog box.
(4)

Select Cultures


Select a configured culture from the pull-down menu.
(5) ID

A unique identifier assigned to each translation text. It is automatically assigned when you add a translation text line by pressing the Add button.

(6) Text

Sets the text to be displayed when using the culture currently selected in the Culture Selection pull-down menu.

(7) Translation Hint Allows you to enter a description for the translated text line.
(8) Master Text

Displays the text of the master culture. This item is not displayed when a master culture is selected in the culture selection pull-down menu.

(9) Add/Delete button

This button allows you to add/delete language table setting rows. These buttons are only enabled when the master culture is selected in the [ Current Culture ] field.

(10) Selected Text Assignments Displays the node to which the translated text line has been set. 
(11) Close button Closes the Localization Table dialog box.

Language Usage

For editing the texts' properties, Scene Composer provides the Text Properties Dialog, which can be opened via the menu Language > Language Usage....

This dialog lists all Text Properties of the solution. For those Text Properties that have a translatable text assigned, the Text Id and the Text value for the current culture are displayed. The current culture can be changed in the drop-down menu on the right. If necessary, the Solution Options: Cultures dialog can be opened with the globe icon on the left of the drop-down menu.

When pressing Save, the changes made to the Text Properties will be applied to the solution.

drawing-4-1696312788.png

The Language Table Selection dialog can also be opened when editing a Text property by clicking on the icon Select template for item.

drawing-4-1696312677.png


Switching Cultures

If cultures and texts have been created and the texts are assigned to Text properties, the culture can be switched using the drop-down in the toolbar. As soon as another culture is chosen, the solution will be displayed in the other language.

If there is no text configured for a certain language, the Text Id will be displayed instead. Using this id, the missing text can easily be identified and found in the Language Table using the search function.

drawing-4-1682585479.png

Import and Export of Language Packs

Importing Language Data

You can import the solution’s cultures and language tables from a Language Pack Source (.lps), an Excel file (.xlsx/.xls), or an XLIFF file (.xlf). Start the import from [ Language > Import Languages ], choose the source file type, and then select the target file.

If you choose XLIFF (.xlf), select and import the individual .xlf files prepared for each culture (specify the files for each language/culture separately).

drawing-4-1769071075.png

The final step of the language import process is to show the differences between the texts in the import file and the texts in solution. There are three possible actions:

  • Add : Indicates that the language does not already exist in the solution and will be imported from the file.
  • Merge: Means that the language already exists in the solution and only the content differs. New texts will be added and already existing texts will be updated.
  • Drop : When unchecking a language entry in the Translatable Text Differences dialogue, the Action changes automatically from Add/Merge to Drop. If the initial action was Add, this means that the language will not be added to the solution. If the initial action was Merge, this means its texts will not be updated and new texts from the import files will not be added to this language in the solution.

The Drop action does not mean that the language will be removed from the solution. The removal of a language can be done from File > Solution Options in the Cultures tab.

drawing-4-1682585540.png


Export of Language Pack Sources

The translatable texts of the current solution can be exported by going to Language > Export Languages..., which opens the Select Cultures dialog.

drawing-4-1676445765.png

Please note that only the texts that have a correspondent in the master language texts, considering their Id, are included in the export, all the others being ignored. In this case warnings will be added to the Output tab in Scene Composer.

  • Exporting languages as Language Pack Source file creates a .LPS file that contains the master language and all the other languages available in the solution. The exported .LPS file can be compiled and appended using the CGI Studio Language Appender.
  • When exporting in XLIFF format, a separate .xlf file is generated for each language (culture). The culture identifier is appended to the file name: the Master language is exported as Languages_00.xlf, and each language as Languages_{culture}.xlf (e.g., en, ja-JP).

  • Exporting languages as Excel document creates an Excel file that contains one sheet for the master language (named Master) and a sheet for each of the other languages in the solution having an identical name with the respective culture (e.g. de-DE, en-US, fr-FR). Each sheet has a header on the first row, with 3 columns: Id, Text, and Translation Hint. The following rows contain the translatable texts.
drawing-4-1682585591.png