Sitecore CMS and Multi-language Websites - Part 1

April 1, 2014 Ayman El Badawy

Sitecore is a leading Microsoft .NET based Web Content Management System or WCMS. Sitecore is highly scalable, yet very easy to use and allows website managers and authors to better engage with their customers online across multiple channels and derive customer intelligence.

The company was founded in 2001 and has offices in Australia, Denmark, Sweden, Canada, Germany, Japan, Netherlands, New Zealand, United Kingdom, Ukraine, and United States.

sitecore-multilanguage

Sitecore has been recognized for the fourth consecutive year as a global leader in customer experience management software. Sitecore has been positioned by Gartner, Inc. in the Leaders Quadrant of the 2013 Magic Quadrant for Web Content Management (WCM).

The most recent release at the time of writing is version 7.1 Update-1 and it was released on January 31, 2014. To date, Sitecore has 3,000+ customers worldwide and is powering well over 32,000 websites.

In this blog entry, we shall discuss using Sitecore to support and manage multiple language websites. This will be the first post in a three-post series.

 

Preparing to support a Multilingual Website

Sitecore provides great features for the support and management of multiple language websites.

When setting up a multilingual website in Sitecore, there are some steps which are outside the translation-only workflow which must be covered to ensure best practices are followed for multiple languages websites. The first step will be enabling the appropriate Languages (which are the correct language and country codes) through the Sitecore Content Editor as seen below:

  1. Open the Content Editor
  2. Go to Sitecore > System > Languages
  3. Right-click on Language, choose Insert > Language
  4. Fill in the language details

Sitecore-1

This process is repeated for each language you plan to support on your website.

 

Other considerations when building multilingual websites

Sitecore remains committed to ensuring best practices are followed when building multiple language websites. However there are some steps which are developer and process dependent and cannot be enforced by Sitecore. One such scenario is the use of template files in implementing the site. Special consideration must be taken when developing these templates to support multilingual content. Here are some important tips for creating Sitecore templates for website translation and  localization.

  1. Expansion of translated content: When development your website templates, it is important to keep in mind the space needed to accommodate possible text expansion in other languages (e.g. text length could expand up to a 25% of the original). You should also ensure that the web template was coded in a way that responds in a fluid manner (i.e. expands or shrinks) based on the displayed content.
  2. Static text references: There are strings that web developer and programmers include directly into the templates or web applications for varying usages (e.g. alert messages, labels, etc.). When strings are hard-coded into your development assets (templates, client-side java script, back-end services, etc.), they are not immediately available for export during the translation process. This would result in a partial translation taking place and have mixed languages present on your website. While it may be acceptable to have English mixed with other languages on your websites (e.g. footer notices, legal statement, etc.) it's not the general case (e.g. registration forms, etc.) and should be avoided. To solve this issue, one of the following is highly recommended:
    1. Move all hard-coded, extracted text into a resource file. (This will need to be sent for translation also.)
    2. Use the built-in dictionary within Sitecore. This dictionary will manage and store all your static text (as key/value pairs) and your templates can be updated to simply reference these keys. When the page is being rendered, the appropriate value (dependent on the current language) will be pulled directly from the dictionary.

The other great benefit of adopting either of these approaches is that the text now is completely managed in a central location and is available for export/import during the translation process.

  1. Open the Content Editor
  2. Go to Sitecore > System > Dictionary
  3. Right-click on Dictionary, choose Insert > Dictionary Entry
  4. Fill out the Dictionary Entry details

Sitecore-2

 

GPI Resources on Multilingual CMS and Connectors

GPI offers custom CMS translation services connectors to a variety of web content management systems and client relationship management systems in order to streamline localization workflows and access to translation project information across your enterprise. For more information, check Multilingual CMS Translation Connectors.

You may find some of the following articles and links useful:

Globalization Partners International (GPI) frequently assists customers with multilingual website design, development and deployment, and has developed a suite of globalization tools to help you achieve your multiple language project goals. You can explore them under the Translation Portals of our website. GPI also offers globalization consulting services and internationalization, and can evaluate your application. Consider partnering with GPI prior to localizing or translating your website application. This will help you avoid many mistakes and save considerable time and money on your localization projects.

Contact GPI for more information via e-mail at info@globalizationpartners.com, by phone at (866) 272-5874, or by requesting a free web translation quote on your project.

About the Author

Ayman El Badawy

Ayman is a native Arabic speaker with extensive expertise in Arabic software and website localization. He is a Microsoft Certified professional (MCP) since 2001 and earned several certificates including MCSD, MCAD, MCTS and MCPD. He has over 12 years’ experience in software / websites engineering using Microsoft Programming tools including C#, ASP.NET, SQL Server, Visual Studio and other tools such as HTML, JavaScript, XML, Ajax and others.

More Content by Ayman El Badawy
Previous Article
3 Reasons to attend the upcoming Sitecore Symposium
3 Reasons to attend the upcoming Sitecore Symposium

The Sitecore Symposium in Las Vegas will be held September 8th - 10th at the Aria Resort. Sitecore refers t...

No More Articles

Ready to see how easy translating your website is?

Request a Demo