Skip to main content
LinkedIn
Copied!

Table of Contents

Testing the translation package

Applicable to Theme UI-Kit applications

Check whether your translation is accurate and appears correctly in the user interface by using the localization inspector tool. You can use the localization inspector to review and update field value rules in language-specific rulesets after you import a translation.

Prepare your Dev Studio environment for testing:
  • Ensure that your access group includes the pxFieldValueInspector privilege for @baseclass. For more information, see Learning about access groups.
  • Import the translation package for the target language. For more information, see Importing translations.
  1. Change your operator locale to display the application in the language of the translation package:

    1. In the footer of Dev Studio, click the operator icon, and then click Operator.

    2. On the Profile tab of the operator record, in theLocalization section, in the Default locale field, enter the ISO code of the target language.

      For Arabic (Saudi Arabia), enter ar_SA.
    3. In the upper-right corner of the Operator tab, click Save.

  2. Optional:

    To keep the Dev Studio interface in English while you check a translated interface, perform the following actions:

    1. In the footer of Dev Studio, click the operator icon, and then click Preferences.

    2. In the Preferences window, select the Ignore locale check box.

    3. Click Save, and then re-log to the application.

  3. In the header of Dev Studio, click Launch portal, and then click the name of a portal that you want to test.

  4. In the footer of the portal, click the Toggle runtime toolbar icon, and then click the Toggle localization inspector icon.

    The system displays the Localization pane with a list of rules that the active screen references.
    Field values that are not available for translation are tagged with a yellow circle.
  5. For any field value that you want to inspect, perform the following steps:

    1. In the Localization pane, select the rule that corresponds to the field value.

      The application preview highlights the fields that you select.
    2. Optional:

      To see the attributes for the rule, including the localized value, click the Translates to icon.

      Localization pane with an open attributes overlay
      The menu rule attributes overlay is open and displays the
                                        translation value.
    3. Optional:

      To edit the localized value for the field value rule, click the Open rule in Dev Studio icon, and then, in the tab for that rule, edit the field value.

  6. Optional:

    To review another screen, close the Localization pane, navigate to the target screen in your application, and then repeat steps 4 through 5.

  7. Close the Localization pane.

Revert the language settings for the operator to their original values by completing step 1 and entering en_EN as the default locale.
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us