Tagged: Language

Multiple Languages in Optimizely CMS

I was exploring multi-languages in Optimizely CMS 12 – able to figure it out quickly in a few steps.

Let’s get started.

1. Enable Languages in the Admin

Optimizely stores language settings in the Admin view.

  • Log in to Optimizely CMS as an administrator.

  • Navigate to: Admin -> Manage Website Languages

  • You can select an existing language or add a new language

    • There are 14 languages available by default.

Optimizely-CMS-Multi-Language-1.png

    • Add a new language if it’s not listed in the default list.

      • I’m adding Hindi (hi-IN) as I’m from India 🙂

Optimizely-CMS-Multi-Language-2.png

  • Make sure to Enable the Language to be listed on the sites.

 

2. Language Settings

  • Now the Hindi is listed on Sites, but it’s enabled at the site level.

Optimizely-CMS-Multi-Language-4.png

  • To enable at the site level, go to Language Settings under Tools (Make sure you are on the site’s Start page).

Optimizely-CMS-Multi-Language-5.png

  • Check the newly added language under Available Languages.

Optimizely-CMS-Multi-Language-6.png

  • We need to set the Fallback Languages as a secondary option when the language is not available.

Optimizely-CMS-Multi-Language-7.png

 

3. Update Page Types and Block Types

To support multilingual fields, Optimizely requires culture-specific properties.

  • For any property that should be translated, add the attribute:

[CultureSpecific]

Optimizely-CMS-Multi-Language-8.png

  • Rebuild and deploy the solution.

 

4. Create Translations

  • Select the page you would like to translate, and the Translate button will appear. I chose the Contact Us page for demo purposes.

Optimizely-CMS-Multi-Language-9.png

  • Create the language version.

Optimizely-CMS-Multi-Language-10.png

  • Translate properties, blocks, and media as needed and publish the changes.

Optimizely-CMS-Multi-Language-11.png

  • Let’s preview the changes. Isn’t looking good?

Optimizely-CMS-Multi-Language-11.png

Hope it helps.

Happy Optimizing!

0