{"id":5737,"date":"2014-04-23T00:00:00","date_gmt":"2014-04-23T00:00:00","guid":{"rendered":"https:\/\/www.globalizationpartners.com\/2014\/04\/23\/joomla-cms-and-multi-language-websites-part-1\/"},"modified":"2021-09-22T16:20:36","modified_gmt":"2021-09-22T16:20:36","slug":"joomla-cms-and-multi-language-websites-part-1","status":"publish","type":"post","link":"https:\/\/www.globalizationpartners.com\/2014\/04\/23\/joomla-cms-and-multi-language-websites-part-1\/","title":{"rendered":"Joomla CMS and Multi-language Websites (Part 1)"},"content":{"rendered":"<p>Joomla is an award-winning content management system (CMS), which enables you to build websites and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular website software available. In addition Joomla is an open source solution that is freely available to everyone. \u00a0(<a href=\"https:\/\/www.joomla.org\/about-joomla.html\">Joomla.org<\/a>)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2018\/07\/joomla-multilanguages_336x269.jpg\" alt=\"Joomla-multilanguages\" width=\"336\" height=\"269\" \/><\/p>\n<p>It was first released on September 22, 2005. The purpose of Joomla is to provide a flexible platform for digital publishing and collaboration. The name, &#8220;Joomla!,&#8221; is the Anglicized spelling of the Swahili word &#8220;jumla&#8221;, meaning &#8220;all together&#8221; or &#8220;as a whole&#8221; which also has a similar meaning in at least Arabic and Urdu. \u00a0(<a href=\"https:\/\/en.wikipedia.org\/wiki\/Joomla\">Wikipedia<\/a>)<\/p>\n<p>The most recent and recommended release at the time of writing is version 3.2 and it was released on November 6, 2013. The Joomla platform has been downloaded more than 30 million times from Joomla.org and averages around 1 million downloads every month.<\/p>\n<p>In this blog entry, we shall discuss using Joomla to support and manage multiple language websites. This will be the first post in a three-post series.<\/p>\n<h5><strong>Preparing to support a multilingual site<\/strong><\/h5>\n<p>Out of the box, Joomla comes installed in a single language but provides the basic fundamentals needed to support websites in multiple languages.<\/p>\n<h5><strong>Adding a new language<\/strong><\/h5>\n<p>Since Joomla generates specific language strings (e.g. &#8220;Read More&#8221;, etc.) on both the client-facing site as well as the administrative back-end, we first have to install the additional language packs for the language we plan to support.<\/p>\n<p>To enable an additional language within Joomla, follow the steps outlined below:<\/p>\n<ol>\n<li>Go to <strong><em>Extensions &gt; Language Manager<\/em><\/strong> &#8211; To access the <strong><em>Language Manager<\/em><\/strong> section of the Joomla administrative area, simply click on the <strong><em>Extensions<\/em><\/strong> link at the top of screen as shown below:<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2018\/07\/joomla-1.png\" alt=\"Joomla-1\" width=\"600\" height=\"167\" \/><\/li>\n<li>Choose your language(s) from the list of available languages.<\/li>\n<li>Click the <strong><em>Install Language<\/em><\/strong> button.<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2018\/07\/joomla-2.png\" alt=\"Joomla-2\" width=\"537\" height=\"230\" \/><\/li>\n<\/ol>\n<p>Once this is done, the new language(s) will appear under <em><strong>Extensions &gt; Language Manager<\/strong><\/em>. It is seen under both under the <em><strong>Installed &#8211; Site<\/strong><\/em> and <em><strong>Installed &#8211; Administrator<\/strong><\/em> tabs as seen below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2018\/07\/joomla-4.png\" alt=\"Joomla-4\" width=\"488\" height=\"226\" \/><\/p>\n<h5><strong>Creating a content language<\/strong><\/h5>\n<p>At this point, you have installed the required language packs for the languages you plan to support. However, we still need to configure these languages for use with your website&#8217;s content. This process is known as creating <strong><em>Content Languages<\/em><\/strong> in Joomla. <strong><em>Content Language<\/em><\/strong> captures the required details such as language codes, etc. on a per language basis.<\/p>\n<ol>\n<li><em>1.<\/em> Go to <strong><em>Extensions &gt; Language Manager.<\/em><\/strong><\/li>\n<li>Click <strong><em>Content<\/em><\/strong> on the left side-menu.<\/li>\n<li>Click the <strong><em>New<\/em><\/strong> button to create a new content language.<\/li>\n<li>Enter the details required for the content language.\n<ol>\n<li><strong><em>Title<\/em><\/strong> &#8211; This is the name of the language as seen within Joomla.<\/li>\n<li><strong><em>Title Native<\/em><\/strong> &#8211; This is the name of the language using the language native text\/script.<\/li>\n<li><strong><em>URL Language Code<\/em><\/strong> &#8211; This is the code used to identify the language and appended to the page URL e.g. https:\/\/www.youcompanydomain.com\/en\/.<\/li>\n<li><strong><em>Image Prefix<\/em><\/strong> &#8211; This is used to help display the count flag images.<\/li>\n<li><strong><em>Language Tag<\/em><\/strong> &#8211; This is the language code in the format &lt;language_code&gt;-&lt;country_code&gt;. For example en-US: \u00a0&#8220;en&#8221; represents English language code and &#8220;US&#8221; represents the United States country locale.<\/li>\n<\/ol>\n<\/li>\n<li>Click <strong><em>Save &amp; Close<\/em><\/strong> to update the content language settings.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2018\/07\/joomla-5.png\" alt=\"Joomla-5\" width=\"712\" height=\"214\" \/><\/p>\n<h5><strong>Organizing content with language categories<\/strong><\/h5>\n<p>Our goal is to configure Joomla to support a multi-language website. This means we will have content in each of the different languages we plan to support. As such, the amount of content quickly grows in proportional to the number of pages and the number of languages we will need to support.<\/p>\n<p>In an effort to simplify our information architecture (content structure) as much as possible, the best approach would be to create root categories for each language supported on the website.<\/p>\n<ol>\n<li>Go to <strong><em>Content &gt; Category Manager.<\/em><\/strong><\/li>\n<li>Click the <strong><em>New<\/em><\/strong> button to create a new top-level category.<\/li>\n<li>Enter the details required for the language category.\n<ol>\n<li><strong><em>Title<\/em><\/strong>: English (root)<\/li>\n<li><strong><em>Language<\/em><\/strong>: English<\/li>\n<li><strong><em>Parent<\/em><\/strong>: (None)<\/li>\n<\/ol>\n<\/li>\n<li>Click <strong><em>Save &amp; Close<\/em><\/strong>.<\/li>\n<li>Repeat this process for each of your languages.<\/li>\n<\/ol>\n<p>Once you have created the language categories, you can now begin creating your content. When creating your new content, you will need to make sure to assign each content type to one of the <strong><em>Language Categories<\/em><\/strong> and also select the appropriate language from the drop down language as well. See below for screenshot:<\/p>\n<h5><strong>Selecting and switching between languages<\/strong><\/h5>\n<p>Once you have enabled the languages for your site and configured your content to show in these languages, the final step involves providing a way for your website users to see your site in the language of their choice.<\/p>\n<h5><strong>Filter a specific language<\/strong><\/h5>\n<p>Out of the box, Joomla provides a language filter plugin. This useful tool enables the Joomla platform to distinguish between different installed languages and display the relevant content to the current language.<\/p>\n<ol>\n<li>Go to <strong><em>Extensions &gt; Plug-in Manager<\/em><\/strong>.<\/li>\n<li>Enter <strong><em>Language Filter<\/em><\/strong> into the search box to find the plugin.<\/li>\n<li>Click on the plugin name to edit its settings:\n<ol>\n<li><strong><em>Status<\/em><\/strong>: Enabled<\/li>\n<li><strong><em>Item associations<\/em><\/strong>: Yes<\/li>\n<li><strong><em>Remove URL Language Code:<\/em><\/strong> Yes<\/li>\n<\/ol>\n<\/li>\n<li>Click <strong><em>Save &amp; Close.<\/em><\/strong><\/li>\n<\/ol>\n<h5><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globalizationpartners.com\/wp-content\/uploads\/2018\/07\/joomla-6.png\" alt=\"Joomla-6\" width=\"513\" height=\"248\" \/><\/h5>\n<h5><strong>Using the Language Switcher<\/strong><\/h5>\n<p>This Language Switcher presents website viewers with a collection of links based on the languages enabled on the website. As such, your users can now manually select and switch between each of the languages available on your site.<\/p>\n<p>To enable the <strong><em>Language Switcher<\/em><\/strong>, use the following steps:<\/p>\n<ol>\n<li>Go to <strong><em>Extensions &gt; Module Manager<\/em>.<\/strong><\/li>\n<li>Click the <strong><em>New<\/em><\/strong> button to create of new module of type <strong><em>Language Switcher<\/em><\/strong>.<\/li>\n<li>Enter the details required for the <strong><em>Language Switcher<\/em><\/strong>:\n<ol>\n<li><strong><em>Title<\/em><\/strong> &#8211; The language<\/li>\n<li><strong><em>Position<\/em><\/strong> &#8211; The location where it will be placed<\/li>\n<\/ol>\n<\/li>\n<li>Click <strong><em>Save<\/em><\/strong> button.<\/li>\n<\/ol>\n<p>The <strong><em>Language Switcher<\/em><\/strong> is now active and displays links to each of the languages on your site. When visitors click these links, the site switches to the selected language, changing all of the content and interface options for which translations are available.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Joomla is an award-winning content management system (CMS), which enables you to build websites and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular website software available. In addition Joomla is an open source solution that is freely available to everyone. \u00a0(Joomla.org) It was first released on September [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":5738,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[530,1410,64],"_links":{"self":[{"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts\/5737"}],"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=5737"}],"version-history":[{"count":5,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts\/5737\/revisions"}],"predecessor-version":[{"id":32986,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/posts\/5737\/revisions\/32986"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/media\/5738"}],"wp:attachment":[{"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/media?parent=5737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/categories?post=5737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globalizationpartners.com\/wp-json\/wp\/v2\/tags?post=5737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}