Configure controls to change displayed text between languages

Use the Switch Language Button control to create separate buttons that allow you to change text between different languages. Use the Flag Switching Button control to create a single button that allows you to toggle between languages.

Before you begin

Important:
  • You must provide the translated text for the selected properties. The Designer does not automatically translate text.
  • The Switch Language button does not act as a toggle button; that is, you cannot use the same button to switch back to the original language. You must add a separate language button for each language that you want to be able to switch to. However, the Flag Switching button does act as a toggle button; that is, you use only the one button to switch between the configured languages.

Procedure

  1. In the navigator, click Global Displays > Forms.
  2. From the Forms list, select the resource you want to work with.
  3. Click Display Editor > Designer.
  4. Click the Toolbox tab.
  5. To configure the Switch Language Button control, do the following:
    1. Expand the Language Switching group, and then select the SwitchLanguageButton control.
    2. Click and drag the control to the desired position in the Designer, and then click the Properties tab.
    3. Configure the base properties, as required.
      Note: To view the full list of properties, select the Advanced check box.
    4. In the Content field, enter the text you want displayed on the language button. For example, if the button will be used to switch text to Spanish, enter Spanish or Español.
    5. From the Language ID list, select the language that the text on the control(s) will be switched to.
  6. Repeat steps 4-5 for each separate language button.
  7. To configure the Flag Switching Button control, do the following:
    1. From the DefaultFlag drop-down list, select the language for the flag that you want displayed when the form opens.
    2. Click the FlagsParameters ellipsis button.
      The Language Selection dialog box appears.
    3. Select the languages that the text on the control(s) will be switched to, and then click OK.
    4. From the FlagStyle drop-down list, select the style of flag you want to use.
  8. If required, add controls whose text you want to switch to an alternate language.
  9. Select a control, and then click the Properties tab.
  10. Click the Localization ellipsis button.
    The Localization Configuration dialog box appears.
  11. From the Property Name list, select the property whose text you want to switch languages for.
  12. From the Language list, select the language you want to switch the text to.
    Note: This language must match the Language ID property of the switch language button.
  13. In the Text field, enter the translated text for the selected property, and then click Apply.
    The information for language switching appears in the Translations area.
  14. Click OK.
    Tip: To remove a translation string, select it, click Delete, and then click OK.
  15. Repeat steps 8-13 for each additional control.
  16. Save the form or user display.
    Click Save on the...To save...
    toolbarlocally for WPF forms; to the server for Silverlight forms
    title barto the server for WPF forms