Joomla CMS and Multi-language Websites (Part 1)

April 23, 2014

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.  (Joomla.org)

Joomla-multilanguagesIt was first released on September 22, 2005. The purpose of Joomla is to provide a flexible platform for digital publishing and collaboration. The name, "Joomla!," is the Anglicized spelling of the Swahili word "jumla", meaning "all together" or "as a whole" which also has a similar meaning in at least Arabic and Urdu.  (Wikipedia)

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.

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.

Preparing to support a multilingual site

Out of the box, Joomla comes installed in a single language but provides the basic fundamentals needed to support websites in multiple languages.

Adding a new language

Since Joomla generates specific language strings (e.g. "Read More", 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.

To enable an additional language within Joomla, follow the steps outlined below:

  1. Go to Extensions > Language Manager - To access the Language Manager section of the Joomla administrative area, simply click on the Extensions link at the top of screen as shown below:
    Joomla-1
  2. Choose your language(s) from the list of available languages.
  3. Click the Install Language button.
    Joomla-2

Once this is done, the new language(s) will appear under Extensions > Language Manager. It is seen under both under the Installed - Site and Installed - Administrator tabs as seen below.

Joomla-4

Creating a content language

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's content. This process is known as creating Content Languages in Joomla. Content Language captures the required details such as language codes, etc. on a per language basis.

  1. 1. Go to Extensions > Language Manager.
  2. Click Content on the left side-menu.
  3. Click the New button to create a new content language.
  4. Enter the details required for the content language.
    1. Title - This is the name of the language as seen within Joomla.
    2. Title Native - This is the name of the language using the language native text/script.
    3. URL Language Code - This is the code used to identify the language and appended to the page URL e.g. http://www.youcompanydomain.com/en/.
    4. Image Prefix - This is used to help display the count flag images.
    5. Language Tag - This is the language code in the format <language_code>-<country_code>. For example en-US:  "en" represents English language code and "US" represents the United States country locale.
  5. Click Save & Close to update the content language settings.

Joomla-5

Organizing content with language categories

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.

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.

  1. Go to Content > Category Manager.
  2. Click the New button to create a new top-level category.
  3. Enter the details required for the language category.
    1. Title: English (root)
    2. Language: English
    3. Parent: (None)
  4. Click Save & Close.
  5. Repeat this process for each of your languages.

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 Language Categories and also select the appropriate language from the drop down language as well. See below for screenshot:

Selecting and switching between languages

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.

Filter a specific language

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.

  1. Go to Extensions > Plug-in Manager.
  2. Enter Language Filter into the search box to find the plugin.
  3. Click on the plugin name to edit its settings:
    1. Status: Enabled
    2. Item associations: Yes
    3. Remove URL Language Code: Yes
  4. Click Save & Close.

Joomla-6

Using the Language Switcher

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.

To enable the Language Switcher, use the following steps:

  1. Go to Extensions > Module Manager.
  2. Click the New button to create of new module of type Language Switcher.
  3. Enter the details required for the Language Switcher:
    1. Title - The language
    2. Position - The location where it will be placed
  4. Click Save button.

The Language Switcher 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.

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

Category:
Content Management Systems
Tags:
Joomla, CMS, Website Translation

Ektron Synergy: Now a Spring EventCulture and E-Business in Germany

Comments

  • Ole Bang OttosenOn Apr 24, Ole Bang Ottosen said:
    Good to see Joomla! CMS as a topic here!

    Nice post. Only wanted to add that in Joomla 3 you now have a Multilingual Site Automatic Installer built in as part of the actual installation process, if chosen. Makes it even easier to start a new site with more languages already setup and configured.
    The joomla team posted a Video tutorial about this new feature here:
    http://community.joomla.org/blogs/community/1777-joomla-32-video-tutorials.html
  • Kevin Blake-ThomasOn Apr 24, Kevin Blake-Thomas said:
    Thanks Ole Bang Ottosen!

    In an upcoming entry of our Joomla! CMS Multilingual series, we'll be sure to include the Multilingual Site Automatic Installer.

    Hope you continue visiting our blogs!