If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

Joomla 3.x. How to create theme localization

This tutorial is going to show you how to install a new language and add theme localization in Joomla 3.x templates.

Joomla 3.x. How to create theme localization

  1. New Language Installation

    1. Firstly, you should install a new language. Download a language pack from http://community.joomla.org/translations.html depending on your Joomla version.

    2. In your Joomla admin panel go to Extensions -> Extensions Manager.

      Joomla 3.x. How to create theme localization1

    3. Click on Browse button, navigate to the directory where you saved the language package on your computer, double click on it and click Upload & Install button.

      Joomla 3.x. How to create theme localization2

    4. When it’s installed, go to Extensions -> Language Manager to see the new language listed there.

      Joomla 3.x. How to create theme localization3

    5. Open Content section, then click New.

      Joomla 3.x. How to create theme localization4

    6. Create a new content language with unique parameters. The Language Tag should be the same as the one used for the language package (fr-FR, en-GB, etc.):

      Joomla 3.x. How to create theme localization5

    7. Click on Save and Close. You will see a message saying "Content Language successfully saved".

  2. Language Files Duplicating

    1. You need to duplicate language files en-GB.tpl_themeXXXX.ini and en-GB.tpl_themeXXXX.sys.ini, located in \language\en-GB folder on your server. Copy it to \language\YOUR ADDITIONAL LANGUAGE folder, for example language\de-DE.

      If you want to have a single-language site, you can edit desired text in the language files for the English language directly. If you want to create a multi-lingual site, you should duplicate theme language files for the new language.

    2. Change or rename language prefix from en-GB to a desired language/country (locale) code, e.g., for German it will look like: de-DE.tpl_themeXXXX.ini for both files (it should be the same as your language folder name).

      Joomla 3.x. How to create theme localization6

    3. Now you can open the file de-DE.tpl_themeXXXX.ini via any code editor and alter or translate the text to fit your needs. If you don’t see changes made in the file on your site, please check the following tutorial and make sure that you performed all steps mentioned in it to configure a multi-lingual site.

  3. Language Overrides Tool

  4. Joomla includes a great feature called Language Overrides Tool that allows to translate text constants via the admin panel easily. We are going to translate "More" button title on the "Latest news" page.

    1. In the admin panel go to Extensions -> Language Manager , open the Overrides tab.

      Joomla 3.x. How to create theme localization7

    2. In the language filter select your language and click New button.

      Joomla 3.x. How to create theme localization8

    3. You can make an override using Value or Constant. Let’s search for "More" value. In search results you need to select the item, set the desired text in the text field and save the override.

      Joomla 3.x. How to create theme localization9

    4. Refresh the page. You can see that the title is changed.

      Joomla 3.x. How to create theme localization10

    5. You can find more information about Joomla Language Overrides Tool in the the following tutorial: Joomla 3.x. How to use Language Overrides Tool.

Feel free to check the detailed video tutorial below:

Joomla 3.x. How to create theme localization