{"id":19737,"date":"2020-03-26T05:02:49","date_gmt":"2020-03-26T05:02:49","guid":{"rendered":"https:\/\/www.globalizationpartners.com\/?p=19737"},"modified":"2020-08-04T10:22:24","modified_gmt":"2020-08-04T10:22:24","slug":"umbraco-8-new-multilingual-features","status":"publish","type":"post","link":"https:\/\/www.globalizationpartners.com\/2020\/03\/26\/umbraco-8-new-multilingual-features\/","title":{"rendered":"Umbraco 8: New Multilingual Features"},"content":{"rendered":"<p>If you had the chance to build a multilingual website on an older version of Umbraco, or even if you researched the possibility of doing so, you likely noticed that the tool has some challenges. For example, I remember that a recommended workflow for Umbraco 7 was to clone the entire English website for each language, then introduce the translations on each site independently. This approach led to other challenges during the maintenance phase.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-19680 aligncenter\" style=\"display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Home.png\" alt=\"Umbraco-8-Home\" width=\"449\" height=\"206\" \/><\/p>\n<p>Umbraco 8 introduces significant changes to the localization workflow. One of the best new features with this latest version is the <strong>Language Variants<\/strong>. This function allows you to have variants of the same content, yet all under the same project. Essentially, you can open a page and, if it has variants enabled, you will see the option to switch the language and view\/input the translated content.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19743 aligncenter\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variants.png\" alt=\"Umbraco-8-Language-Variants\" width=\"988\" height=\"401\" srcset=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variants.png 988w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variants-300x122.png 300w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variants-768x312.png 768w\" sizes=\"(max-width: 988px) 100vw, 988px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>An added benefit to this feature is that it can be configured in a granular way \u2013 i.e. <strong>you can define which document type allows Language Variants or not<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19753 aligncenter\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variants-Feature.png\" alt=\"Umbraco-8-Language-Variants-Feature\" width=\"1190\" height=\"668\" srcset=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variants-Feature.png 1190w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variants-Feature-300x168.png 300w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variants-Feature-768x431.png 768w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variants-Feature-1024x575.png 1024w\" sizes=\"(max-width: 1190px) 100vw, 1190px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Additionally, <strong>you can define if a field from a given document type allows Language Variants or not<\/strong>. This feature is beneficial for instances in which a universal field value is needed across all languages. In this particular case, language variants should be disabled for that field.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19748 aligncenter\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variant.png\" alt=\"Umbraco-8-Language-Variant\" width=\"1051\" height=\"713\" srcset=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variant.png 1051w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variant-300x204.png 300w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variant-768x521.png 768w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Language-Variant-1024x695.png 1024w\" sizes=\"(max-width: 1051px) 100vw, 1051px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Another great feature related to localization, is the ability to enable or disable languages. This allows you to determine which language is the <strong>default<\/strong> and establish <strong>fallbacks <\/strong>(substitution words if no data is present) for each language. You can also define if a language is <strong>mandatory<\/strong>, meaning that a content node cannot be published unless it has content for the given language.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19758 aligncenter\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Languages.png\" alt=\"Umbraco-8-Languages\" width=\"1243\" height=\"508\" srcset=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Languages.png 1243w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Languages-300x123.png 300w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Languages-768x314.png 768w, https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2020\/03\/Umbraco-8-Languages-1024x418.png 1024w\" sizes=\"(max-width: 1243px) 100vw, 1243px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Finally, let me touch on a wonderful feature for developers. I am happy to say that there were many improvements for developers with version 8. In terms of localization, one of the best additions is the <strong>Language files for packages<\/strong>. This allows you to build multilingual extensions by adding different XML files for each language, including the corresponding translations for each text.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Conclusion:<\/strong><\/h2>\n<p>Umbraco 8 added a lot of new features that create enhanced workflows for constructing multilingual websites. If you are currently using an older version of Umbraco or contemplating a multilingual website, you will greatly enjoy all of these new features that Umbraco 8 has to offer.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you had the chance to build a multilingual website on an older version of Umbraco, or even if you researched the possibility of doing so, you likely noticed that the tool has some challenges. For example, I remember that a recommended workflow for Umbraco 7 was to clone the entire English website for each [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":19787,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[33,31,32,25],"_links":{"self":[{"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts\/19737"}],"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=19737"}],"version-history":[{"count":11,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts\/19737\/revisions"}],"predecessor-version":[{"id":19918,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts\/19737\/revisions\/19918"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/media\/19787"}],"wp:attachment":[{"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/media?parent=19737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/categories?post=19737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/tags?post=19737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}