J3.x:Setup a Multilingual Site/Language Switcher
From Joomla! Documentation
< J3.x:Setup a Multilingual Site
How to setup a Multilingual Joomla! Site
Articles in this Series
- Introduction
- Step 1: Installing a new language
- Step 2: Creating a Content Language
- Step 3: Enabling the Language Plugins
- Step 4: Adding Multilingual Content
- Step 5: Creating Menus for the Multilingual Content
- Step 6: Duplicate your Template for each Language
- Step 7: Adding a Language Switcher
- Step 8: Exploring the multilingual site
Joomla! allows you to create easily a multilingual website, without having to install any third party extension. In this tutorial, you’ll find a complete walkthrough of the steps involved in creating a multilingual Joomla! site.
Step 7 - Adding a Language Switcher
We have now two sets of articles: one French, one English. Of course, only one menu will be displayed on the frontend: either the English Menu or the French Menu. Joomla! would decide between serving English or French content depending on the language settings of the visitors browser.
As we want the user to be able to switch from a language to another, we need to add the built-in Language Switcher Module.
- Go to Extensions → Modules, click on the button New and select Language Switcher module type.
- Enter a Title: for example, Choose your language.
- Position: Select position-7.
- Language: Select All, as this module will be displayed regardless of the selected language.
After saving this new module, have a look at the frontend of your site. Here it is, the langauge switcher is displayed in the right column.