The Optimizely Languages add-on manages languages and translations of content on multi-lingual websites. After an administrator installs and sets up the application (app), you can add Optimizely Languages as a gadget to activate languages for your website, manage language branches, and work with translation.
The gadget provides an overview of the language set up for your sites, and you can compare language versions when translating content. It also has a built-in feature for automated content translation, based on a third-party plug-in.
Set up Optimizely Languages
Before you can create content in a language, a system administrator needs to add a language to the website and activate it.
Activating a language
- Select Manage Website Languages from the Optimizely Languages gadget options.
- Click the link for a language in the list. If a language is missing in the list, you can add it.
- Select Enabled to activate the language. Under Users/groups for creation and editing, you can provide access rights for a specific editor (such as erin) or group (such as CmsEditors) to work with the language. Each language is available to the Everyone group by default, which you can remove.
- Click Save Language to close the Manage Website Languages dialog box. The language is activated on the website and displayed in the Optimizely Languages gadget, but it is not yet available for content creation.
Enable a language for editing
By default inheritance from the parent page, the language is available for usage throughout the page tree structure, until changed. This means that when enabling a language for a parent page, the language is enabled also for subpages.
- Expand the page tree navigation in the left-hand panel and select the page from where you want the language setting to apply.
- In the Optimizely Languages gadget, select the language you want to activate.
- In the context menu, select Enable editing for [language].
You can also enable languages by selecting Manage Editable Languages for this Content in the lower-left part of the Languages gadget, which brings up the Language Settings dialog box. (This is also where you define fallback and replacement languages for the website. See Fallback Languages.)
Connect to the auto-translation service
- Subscribe to Azure, if you have not done so already.
- Register Translator from Cognitive Services.
- Configure the auto-translate component in Optimizely Languages. Go to Settings > Language Manager.
- Translator Provider – Select Cognitive Service Translator.
- Subscription Key – Enter the Microsoft subscription key (Key 1) from the Azure subscription service.
- Subscription Region – Enter the Location value from the Azure subscription service.
- Click Save.
Use Optimizely Languages
View parts of a website in a selected language
- Select a page from the page tree in the left panel.
- To see pages that do not exist in the selected language, click the Show All Languages link at the bottom of the navigation panel. Pages not existing in the selected viewing language display in italics; replacement or fallback languages (if applied) also display.
Translate content
Translate a page or block as follows:
- Select the page to be translated in the page tree, or open a block from the assets panel.
- Click Create in the Optimizely Languages gadget.
- Select from the following translation options:
-
Auto-translate – Content is automatically translated from the master language. This option is available only if the auto-translate component is properly configured on your website. See Configure auto-translation.
Carefully review the result before publishing.
- Duplicate content – Copies content from the master language for you to manually translate.
- Start with a blank page – Create a blank page or block with the title from the master language. You add translated content manually.
-
Auto-translate – Content is automatically translated from the master language. This option is available only if the auto-translate component is properly configured on your website. See Configure auto-translation.
- Add translated content as appropriate.
- Review and publish the page or block according to the publishing flow in Optimizely CMS.
Replace content with the master language
If you created content in a language other than the master language, you can replace the translated content with the master language content.
- Select the translated page in the page tree.
- Select the language you want to replace.
- Confirm the action by clicking Replace Content.
You cannot undo this action.
Create a page in a different master language
To create a page that exists only in a specific master language:
- Select the desired target language in the Optimizely Languages gadget (or the tab in the navigation panel).
- Expand the page tree navigation in the left-hand panel and select the parent page where you want to create the new page.
- Select the page type to be used and enter a page name.
- Review and publish the page according to the publishing flow in Optimizely Content Management System (CMS).
Compare language versions
You can view a side-by-side comparison of a page in two different language versions, which helps you review auto-translated content or manually translate content.
- Select an existing page to translate in the page tree.
- Select the desired translation language and the Compare with [master language] option in the Optimizely Languages gadget.
- Edit the content in the selected language. You cannot edit the master language page from here.
- Review and publish the page, or click Close Compare or Replace Selected Content.
Delete a language version
- In the page tree, select the page from which you want to delete a language version.
- Open the Versions gadget, and select the desired language version.
- Confirm the deletion.
Import and export XLIFF files
You can add a content item (such as a page or block) to a translation project by drag and drop and via its context menu. After adding content to a project, you can download a zip file containing the project items in XLIFF format (a format used by translation tools). The zip file can then be sent for translation.
When the translations for a project are completed, you should receive the translated files back in a zip file. Upload the file to the server to import content back. After you upload the file to the server, the content is imported automatically by a scheduled job.
- A notification to the user is displayed in the user interface after importing a translation package.
- The translation folder is under the module root to store uploaded translation packages.
- The translation process affects only draft versions.
After you create a translation project, you can add content to it from the Languages context menu:
- Select New Project from the Project menu at the bottom of the browser to create a project for the translation.
- Give the project a name and click OK. The project is automatically enabled.
- In the page tree, select the page from which you want to translate.
- Click Create next to the language you want to translate in the Languages gadget.
- Select the Duplicate English content menu item. You also can start with a blank page. The new version is automatically added to your translation project.
Do not publish the page during this step.
- If you have already created a target language version and want to add that to a translation project, select More > Add to Translation Project. An Add to translation dialog box displays.
- Specify the content you want to add to your translation project.
- Add to translation project – Select the project you want to work with.
- Add all children – Get references to the descendants of the content and add them to the project.
-
Add related content that needs a translation – Add related content items in the content to the project.
You can combine children and related content included in the translation project. You are notified of this if they are already part of another project.
- After you finish adding content to your translation project, go to the Project menu and click Overview.
- Select Options > Download Translation Package. A zip file containing XLIFF-formatted content is downloaded, and you can send the package for tool translation.
Import translation package
- When the translations for the project are done, enable your translation project and select Options > Upload Translation Package(s) to upload the file (in zip format) to the server and import content back.
- After you upload the packages to the server, they are automatically imported by a scheduled job. If you want to start that process manually, go to Settings > Scheduled Jobs > Import Translation Packages > Details > Start.
A notification is sent to the project owner that the translation project was imported.
Please sign in to leave a comment.