0
Cart Empty
0.00 (0 votes)
How to configure a multilanguage site in Joomla

In this article I'll show you how to make content for multi-language site. It’s second part of our tutorial, so if you are just starting your adventure with creation of a website, that provides support for multiple languages, I suggest you to read this article:

TIP: Multilanguage Joomla 3 site - learn how to do it in 5 simple steps.

As an example, I will create content for the Polish language, but in the same way you can create content for any other language.

Step 1 - Menu Configuration

As a reminder our page now looks like that:

 

Menu Configuration

 

We have a language switcher, but as you can see the entire content of the page is still in the default language. In the previous tutorial in the 5th step we created a menu for each of the installed languages. In this step, you need to duplicate/create a menu module for each of these languages.

Go to Extensions -> Modules -> DJ-Menu and set Language as your default language, in our case: English. Click Save and then Save as Copy.

 

Menu Configuration

 

Now set duplicated menu as follows:

  1. Title - type title for your menu item
  2. Menu Name - choose menu for your language that you have previously created
  3. Language - set a language
  4. Status - set as Published
  5. Click Save and Close.

 

Menu Configuration

 

Now our menu with the default language looks poorly, because it contains only the home page. Time to move on!

Let’s translate the menu item. Go to Menu -> Main Menu. Select an item to translate.

  1. Language - choose default language, in our example English
  2. Click Save and Close.
  3. Click Save as Copy.

 

Menu Configuration

 

For duplicated menu item set fields as follow:

  1. Menu title - type title in native language
  2. Langage - set a language
  3. Menu Location - choose menu for your language, which you have previously created
  4. Click Save and Close.

 

Menu Configuration

 

Now go back to edited item, open Associations tab and associate default item to created item.

 

Menu Configuration

 

Repeat this for all menu items. Your menu could look like that:

 

Menu Configuration

 

And after switching to Polish language:

 

Menu Configuration

 

Step 2 - Articles Configuration

Now we'll create a category in which we'll place articles for additional language. Go to Content -> Categories -> Add new category.

 

Articles Configuration

 

  1. Title - type a title of category.
  2. Click Save and Close.

 

Articles Configuration

 

We want to create an article for the home page in additional language. Go to Content -> Articles -> Add new article.

 

Articles Configuration

 

  1. Title - type a title of article.
  2. Content - fill in content
  3. Category - select a category
  4. Click Save and Close.

 

Articles Configuration

 

Now you can assign article to home page. Go to Menus -> Main Menu PL -> Home page.

  1. Menu Title - change title of menu item (translate it)
  2. Select Article - select created article
  3. Click Save and Close.

 

Articles Configuration

 

Well done! So that’s the way to create a single article and assign it to menu item.

 

Articles Configuration

 

In the same way you can add more articles and instead of single article view, set for example a blog view. You can use single article to build tabs, too. Remember, that we change only a content.

 

Articles Configuration

 

Articles Configuration

 

Step 3 - Modules Configuration

Most modules will translate automatically, but we have to change content for custom modules.

As an example take care of these three modules:

 

Modules Configuration

 

Go to Extensions -> Modules and edit the module. In our example it is Time Machine module.

 

Modules Configuration

 

Go to Menu Assignment and assign it to default menu, then click Save as Copy.

 

Modules Configuration

 

Now in duplicated module we change only this part of code:

 

Modules Configuration

 

Then assign it only to your additional main menu (as above) click Save and Close. Do it the same way to other two modules.

Now your modules looks like that:

 

Modules Configuration

 

 

TIP: How to create a custom HTML module

More information about creation and customization of modules you can find in manual of your template!

How to configure a multilanguage site? Part 1.

Users' reviews

Total rating: (0 votes) Add review

Video Tutorials

EF4 Framework for Joomla! 3 - introduction

Joomla! 3 Quickstart Installation Guide

Speed up your website! Must watch video!

How to create Joomla article?

Joomla ReCaptcha - how to set up?

How to use Joomla editors?

How to display a module in Joomla article?

How to configure Joomla contact form?

How to check Joomla module positions names?

How to configure your language for Joomla 3?

How to create Joomla custom HTML module?

How to create Joomla menu?

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2017 Joomla-Monster.com All rights reserved. Joomla! is Free Software released under the GNU/GPL License.
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. Joomla-Monster.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

You will Get best support ever!

Do you know that besides high-quality templates
& pro extensions given for FREE 
our customers appreciate the excellent support

Check here why :)