Sitecore CMS and Multi-language Websites - Part 1

28
© 2001-2015 Globalization Partners International. All rights reserved. Trade marks are property of their respective owners. Sitecore CMS and Multi- language Websites - Part 1

Transcript of Sitecore CMS and Multi-language Websites - Part 1

Page 1: Sitecore CMS and Multi-language Websites - Part 1

© 2001-2015 Globalization Partners International. All rights reserved. Trade marks are property of their respective owners.

Sitecore CMS and Multi-language Websites - Part 1

Page 2: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 2

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.

Page 3: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 3

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.

Page 4: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 4

Sitecore has been recognized for the

fourth consecutive year as a global leader in customer experience management

software.

Page 5: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 5

Sitecore has been positioned by Gartner, Inc. in the Leaders Quadrant of the 2013

Magic Quadrant for Web Content Management (WCM)

.

Page 6: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 6

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.

Page 7: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 7

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.

Page 8: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 8

Preparing to support a Multilingual Website

Sitecore provides great features for the support and management of multiple

language websites.

Page 9: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 9

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.

Page 10: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 10

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

Page 11: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 11

2- Go to Sitecore > System > Languages

Page 12: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 12

3- Right-click on Language, choose Insert > Language

Page 13: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 13

4- Fill in the language details

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

Page 14: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 14

Other considerations when building multilingual websites

Sitecore remains committed to ensuring best practices are followed when building

multiple language websites.

Page 15: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 15

However there are some steps which are developer and process dependent and cannot

be enforced by Sitecore.

Page 16: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 16

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.

Page 17: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 17

Here are some important tips for creating Sitecore templates for website translation and

localization.

Page 18: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 18

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.

Page 19: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 19

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.

Page 20: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 20

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.)

Page 21: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 21

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.

Page 22: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 22

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.

Page 23: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 23

1- Open the Content Editor

Page 24: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 24

2- Go to Sitecore > System > Dictionary

Page 25: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 25

3- Right-click on Dictionary, choose Insert > Dictionary Entry

Page 26: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 26

4- Fill out the Dictionary Entry details

Page 27: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 27

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:

Introduction to selecting a Multilingual Website CMSSitecore - Adopting the Right Approach to Language Translation

Sitecore and the GPI Translation Services ConnectorIs Your Website Ready for Translation?

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 [email protected], by phone at (866) 272-5874, or

by requesting a free web translation quote on your project.

Page 28: Sitecore CMS and Multi-language Websites - Part 1

Sitecore CMS and Multi-language Websites - Part 1

© Globalization Partners International. All rights reserved.http://blog.globalizationpartners.com/ 28

Global Headquarter

Washington, DC1600 Tysons Blvd, 8th FloorMcLean, VA 22102Phone: +1 703-286-2193Toll Free: +1 866-272-5874Global Fax: +1 202-478-0956E-mail: [email protected]

Dubai, United Arab EmiratesDubai Media City, Business Centre 2Building 8, Office Number 71P.O. Box 502068, Dubai, UAEPhone: +971 501079810Global Phone: +1 703-286-2193E-mail: [email protected]

Rosario, ArgentinaAv. Carlos Colombres 1799 Casa 12000 Rosario, Santa Fe, ArgentinaPhone: +54-9-341-3156370E-mail: [email protected]

Cairo, Egypt17 Korash Street6th DistrictNasr City, Cairo, EgyptPhone: +2 0100 128 0914Global Phone: +1-703-286-2193E-mail: [email protected]