Spire allows for contextual content. Contextual content allows users to manage a variety of content for a website based on
- who is viewing (personas) (other articles)
- the device being used, or (other articles)
- the preferred language (this article)
Working with language variants
Language variant is a Spire feature that lets site visitors view pages in a selected language. To provide this capability, you select the language then translate the page's content to the chosen language.
This article covers only one aspect of Spire language support.
- The non-default language has been added to the site. See also: Adding additional languages.
- The user must be assigned to the ISC_Content role (ISC_ContentEditor, ISC_ContentApprover, or ISC_ContentAdmin), or the ISC_FrontEndDev role.
- In the top left corner of the page, choose the language for which you want to translate content.
- Select a page containing the widgets to be translated.
Where content does not exist in the selected language, default language content appears. Also, the widget is outlined in yellow, and an exclamation point appears, indicating a lack of content in the chosen language.
- Go to the first widget to be translated and click Edit. The field shows the widget's current language (outlined in red below).
- Add content in the selected language.
- Click Save. The "new" language variant appears, the outline around the widget is now orange, and the exclamation point is gone.
- If you click Edit again, the field shows the variant language.
- Complete steps 3 through 5 for every widget on the page that you want to translate.