Change the language for a project component

For any existing component, you can change the 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 use the Change Language option.

A content owner or administrator can set permissions to deny access to components or folders. If your permissions to content have been blocked, and you are not an administrator, you cannot use the Change Language option.

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.
  • You can also change the language from the Component's browser. Follow the steps in: Change a component's language.
  • You can change the language for multiple project components. Follow the steps in: Change the language for multiple project components.

To change the language for a project component:

  1. Click Projects_TopMenuOpt Projects.
  2. On the Project Management tab, find the project with the components whose language you want to change.

    To filter projects to find the one you need:

    1. Filter the list of available projects by words in the project name. In the Search text box, enter a keyword, and then click the magnifying glass search_button .
    2. Filter the list of available projects to include only those you own or are participating in. In Type, select an option to filter the list by that criterion.
    3. Add completed projects to the list by selecting Include Completed and then clicking the magnifying glass.
  3. Right-click the project row and select Open.

    You can also open a project by clicking Action_Menu the Options menu and selecting Open.

  4. In the Content pane, select the checkbox for the component whose language you want to change.
    To see the complete name of the components and use advanced search to search through all folders within a project, click the Select Project Components option.

    • To see more text in the Components pane, collapse the Folders panel by clicking the arrow that's pointing left.

    • To quickly expand or collapse the folders, use the expand all and collapse all buttons.

    • To find a component by keyword, in Search, enter words or phrases used in the component's name. In Within, select where in the project you want to search (Current Folder, Current and Subfolders, All Folders). Click Search search_button.
    • To find a component by creating a query, click Advanced Search.

      • Fields correspond to the columns in the grid. In the Field list, select the column you want to search in, such as Component State.
      • After you select a Field, you must describe the relationship it has with the Value. In the Operator list, to include or exclude some or all of the values that you want to use, select an operator, such as <>(not equal to).
      • The options in the Value list change depending on what you selected in Field. In the Value, select or enter the word, phrase, or number you are searching for in relation to the Field. For example, Component State (Field) <> (Operator) Invalid (Value).
      • In Within, select where in the project you want to search (Current Folder, Current and Subfolders, All Folders).
      • Optionally, to enter another clause to your query, click Add. Select whether you want to narrow your search by requiring that all statements must be true (And), or expand your search by requiring that any of the statements can be true (Or).
      • Click Search search_button.
    • To select multiple components to manage, select the checkbox for each component.

      Result: The components are listed on the Selected Components panel.

    • To close the Select Project Components screen, click Select.
  5. In the component's row, select the Options menu, select Actions, and then select Change Language.

    You can also use the Selected Components pane to select Multi-Component Language Change.

  6. On the Change language screen, select a new Language for the component.
  7. Click Submit.
    Results:
    • All components are 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.