Skip to main content

Create and Manage Cultures and Translatable Texts

Accessing Translator Plugin in SceneComposer

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

drawing-4-1682585338.png

drawing-4-1696313207.png

ThereIn areaddition, the [ Language ] menu on the menu bar contains the following five additional menu entries under Language:menus.

drawing-4-1696311151.png
  • Culture Solution Option: Option
    Open the Culture Solution Option Dialog, where the user can add, edit or remove Culture as the multiple languages setting. By selecting a Culture in SceneComposer, you can switch between the displayed language of the solution. The translated texts displayed when selecting a Culture are configured in the Language Table.

  • Export Languages: Languages
    Opens the Select Cultures dialog where you can select the languages you want to export and - after browsing to an export file path - you can export your selected languages in the format you prefer to the location you selected by pressing Export.

  • Import Languages: Languages
    Opens the Import Languages Dialog where Languages can be imported into a solution either as Language Pack Source or as Excel file, by going to Language > Import Languages and selecting the desired flavor.

  • Language Usage: Usage
    Opens the Language Usage Dialog, where all Text Properties of the solution are listed. For those Text Properties that have a translatable text assigned, the Text Id and the Text value for the current culture are displayed. It is also possible to assign or unassign a translatable text for a Text Property.

  • Language Table: Table
    Opens the Language Table Dialog, where the user can add, edit or remove translatable texts. The Id of each translatable text is unique. The Text value for a certain culture can be accessed by selecting the respective culture in the Current Culture drop-down.

 

drawing-4-1682585365.png

Culture

Solution

Creating CulturesOption

InTo ordercreate to have textstext in different languages, culturesa haveculture tomust be created. This is done by clicking on the button Culture Solution Options button on the toolbar.

drawing-4-1696313073.png

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

drawing-4-1682585387.png

 

Language


Table

WithThrough the iconsLanguage onTable, top,you culturescan 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 added (using the green plus sign) and deleted (with the red "x"):

    to add a new culture: use the button with the green plus sign to delete a culture: use the button with the red "x" For each entry the culture name can be selectedaccessed from the drop-down[ and the text direction can be set. Once there are translated texts available for a certain culture, the number of available text for this culture is displayed in the Translated Texts column. In the above example there are two translatable texts for culture de and two translatable texts for en.

    Translate Texts

    Texts can be translated in the Language Table Dialog, which is opened via the menu LanguageLanguages > Language Table....

    drawing-4-1676445464.png
    ]
    menu

    The drop-down on the top right allows the Current Culture selection.bar. The textssettings ofare the Master culture or another culturemade in the solutionLanguage Tables dialog, which can be accessedopened by changingfrom the Currentmenu Culture.bar If[ theLanguages>Language MasterTables... culture is selected, the Add and Delete buttons are enabled, otherwise they are disabled.].

    A search field on top helps to easily find specific texts once the number of texts increases. With the checkbox Unused only it is possible to identify texts that have not yet been assigned to any Text Property of the solution.

    Clicking on the globe icon on the top right opens the Solution Options: Cultures dialog.

    Translatable Text

    A translatable text is a text which supports translation into other languages and which provides information that facilitates its translation to other languages. The translatable text has the following properties:

    drawing-4-1696313046.png
    Id:(1) UniqueSearch identifierfield
    of the

    You translatablecan text:search

      Computed TextId: An alphanumerical string, which will be exported intofor a computedspecific hashtext valueentry asby TextId.entering Directany Id: When the format HEX_VALUE is used, the hex value is directly exportedstring into the assetsearch without computing a hash value. field. Text:(2) TextUnused only check box

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

      Translation hint:(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 processtranslated text line. (8) Master Text

      Displays the text of translationthe 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.

       

      EditingLanguage Text PropertiesUsage

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

      drawing-4-1682585430.png

      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

      Assigning

      Texts
      to
      TextNodes

      Assigning texts to Text Properties can either be done in the Language Usage Dialog or in the Text Properties Panel.

      Assigning Texts using the Language Usage Dialog

      In the Language Usage Dialog a Text property can be selected.

      When pressing the Assign button on the bottom of the dialog, the Language Table Selection dialog is opened where a text can be chosen from the list.

      Assigning Textstexts usingto Text Properties can either be done in the Language Usage Dialog or in the Text Properties PanelPanel.

      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-1682585471.pngdrawing-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

      The culture and language table settings used in the solution can be imported and exported as follows The file format is Excel or Language Pack Resource (*.lps).

      Export
        Select [ Language > Export Language... ] from the menu bar.
        drawing-4-1696312458.png


        When the [ Select Cultures ] dialog box appears, select the culture to be exported.
          Press the [ Browse ] button and specify the export destination.
          At the same time, you can select the file format from Excel/lps.
          drawing-4-1696312604.png


          After completing the necessary settings, press the [ Export ] button to execute the export.
          Import

            Select [ Languages > Import Languages ] from the menu bar.

            drawing-4-1696312497.png



            Select either Language Pack Resources (*.lps) or Excel format as the file format.

            When the [Import Languages] dialog box appears, select the file to be imported.