{"id":17938,"date":"2019-06-20T21:18:40","date_gmt":"2019-06-20T21:18:40","guid":{"rendered":"https:\/\/www.globalizationpartners.com\/?p=17938"},"modified":"2019-07-01T14:39:32","modified_gmt":"2019-07-01T14:39:32","slug":"best-practices-for-sitecore-internationalization-part-2","status":"publish","type":"post","link":"https:\/\/www.globalizationpartners.com\/2019\/06\/20\/best-practices-for-sitecore-internationalization-part-2\/","title":{"rendered":"Best Practices for Sitecore Internationalization, Part 2"},"content":{"rendered":"<p>This is the second part of a series of three blog posts about the\u00a0<a href=\"https:\/\/www.globalizationpartners.com\/2017\/04\/11\/best-practices-for-sitecore-internationalization\/\">best practices for Sitecore internationalization.<\/a> In this blog, we\u2019ll introduce a few aspects that are important to define early in the development process of your multilingual website.<\/p>\n<h2>Language Hierarchy<\/h2>\n<p>One of the main aspects to define before creating a multilingual website is the language hierarchy. Depending on your language requirements, you may or may not need different variations of each language. For example, if your website is targeting audiences in England, the United States and Australia, you may want to have different variations of English or you may want to have one form of English that applies to all these countries. This will depend on the level of personalization that you want. This same example applies for Spanish, which can vary if you target Latin American countries or Spain or you could use a universal Spanish for all Spanish-speaking languages.<\/p>\n<p>By using Sitecore\u2019s language fallback feature, you can have a base English version of the site and variations of English for each region. For example:<\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td colspan=\"3\" width=\"623\">\n<p style=\"text-align: center;\">English<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"208\">English (USA)<\/td>\n<td style=\"text-align: center;\" width=\"208\">English (UK)<\/td>\n<td width=\"208\">\n<p style=\"text-align: center;\">English (AU)<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Another aspect to evaluate for language hierarchy, other than the language needs, is the website structure for each region. If your website will show different content depending on the region, it\u2019s good to have a hierarchy that is based on regions. For example, if you are planning to have website content for Europe, the United States and Asia, you could have a structure like the following:<\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<td colspan=\"8\" width=\"623\">\n<p style=\"text-align: center;\">English<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" colspan=\"2\" width=\"194\">English (USA)<\/td>\n<td style=\"text-align: center;\" colspan=\"4\" width=\"258\">English (UK)<\/td>\n<td colspan=\"2\" width=\"172\">\n<p style=\"text-align: center;\">English (AU)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"97\">Spanish (Mexico)<\/td>\n<td style=\"text-align: center;\" width=\"97\">French (Canada)<\/td>\n<td style=\"text-align: center;\" width=\"60\">Spanish (Spain)<\/td>\n<td style=\"text-align: center;\" width=\"63\">French (France)<\/td>\n<td style=\"text-align: center;\" width=\"82\">Portuguese (Portugal)<\/td>\n<td style=\"text-align: center;\" width=\"52\">Italian (Italy)<\/td>\n<td style=\"text-align: center;\" width=\"86\">Japanese<\/td>\n<td width=\"86\">\n<p style=\"text-align: center;\">Simplified Chinese<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Sitecore is flexible when defining a language\u2019s hierarchy and you can build a hierarchy that addresses your specific needs.<\/p>\n<h2>Shared Fields<\/h2>\n<p>In some cases, you will have fields that you don\u2019t want to have translated or differentiated per language. For this, it\u2019s recommended to configure these fields as shared. This is something that you need to define at the template level (there is a checkbox that allows you to specify if a field is shared or not). Shared fields are shared among all languages and all versions. So, if you change the value of an item on a specific version, it will be reflected in all versions and in all the languages.<\/p>\n<p>Having fields defined as \u201cshared\u201d will stop most translation tools from translating them, as by definition, these fields are not translatable.<\/p>\n<h2>UI Fonts<\/h2>\n<p>An aspect related to front-end development is the decision of which fonts to use. It\u2019s common in actual website development that designers use different fonts for each section of the site (one for titles, another for body text, another for buttons, etc.). The decision of which fonts to use can lead to issues when building multilingual websites, so it\u2019s important to have this decision made ahead of time.<\/p>\n<p>Not all fonts support all of your target languages. Pay attention to languages that use diacritical marks, like Spanish, and to languages that use Cyrillic characters, like Russian.<\/p>\n<p>A best practice for font selection is to use Unicode, a consortium that approves universal character encoding standards for different languages. This will allow you to select fonts that are fully Unicode-compliant.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the second part of a series of three blog posts about the\u00a0best practices for Sitecore internationalization. In this blog, we\u2019ll introduce a few aspects that are important to define early in the development process of your multilingual website. Language Hierarchy One of the main aspects to define before creating a multilingual website is [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":14186,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[56,1692,557],"_links":{"self":[{"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts\/17938"}],"collection":[{"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/comments?post=17938"}],"version-history":[{"count":9,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts\/17938\/revisions"}],"predecessor-version":[{"id":17952,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts\/17938\/revisions\/17952"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/media\/14186"}],"wp:attachment":[{"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/media?parent=17938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/categories?post=17938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/tags?post=17938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}