Change a component's language

After you create a component, you can change it's language attribute. The language you select is applied to the root level element in the xml:lang attribute. This changes which dictionary Inspire loads when you open a component to edit it. To ensure content that is read from Right-to-Left displays correctly in Oxygen, for the language you choose, Inspire may also set the component's Reading property.

You must have Administrator permissions to see the Change language option in the Components browser.

Tips and tricks

  • When Inspire loads a dictionary for a component, if you turn on spell check, that dictionary is used to correct your content.
    • For example, if you set the component's language to French:
      • English words spelled correctly will be underlined in red as a warning of a misspelling.
      • French words spelled correctly won't be underlined in red.
  • Administrators can also change the language for multiple components at once. Follow the steps in Change the language for multiple components.

To change a component's language:

  1. Click Components_TopMenuOpt Components.
  2. In the Folders pane, navigate to the folder where you've saved the component.
  3. In the Components pane, find the component whose language you want to change.
  4. In the list, to select the row, click it.
  5. Right-click the row, select Actions, and then select Change language.
    You can also access this option by clicking the Options menu, selecting Actions, and then selecting Change language.

    You won't see this option unless you have Administrator permissions.

  6. On the Change language screen, select a new Language for the component.
  7. Click Submit.
    Results:
    • The component is updated to use the selected language and its corresponding dictionary.
    • The language you select is applied to the root level element in the xml:lang attribute.
    • If the new language has a Reading value that is NOT ltr, Inspire adds the direction (dir) attribute to the root element.

      • Inspire uses the value set for the language in the Reading option.

        For example, <concept xml:lang="ar-Ar" dir="rtl">

      • When you create and update a language definition you must set the Reading property as either:

        • "ltr" (left-to-right) — this is the default
        • "rtl" (right-to-left)
      • If you change the Reading value for a language to ltr, then Inspire removes the dir attribute.
      • For help with setting the Reading property, read Manage languages.
    • You don't see a notification of your changes.