J3.x

Impostazione di un sito multilingue/installazione di una nuova lingua

From Joomla! Documentation

< J3.x:Setup a Multilingual Site
This page is a translated version of the page J3.x:Setup a Multilingual Site/Installing New Language and the translation is 18% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎Bahasa Indonesia • ‎italiano • ‎Nederlands • ‎Türkçe
Tutorial
How to setup a Multilingual Joomla! 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.



Passo 1: Installazione di una nuova lingua

Opzione 1: creazione di un sito multilingue su un sito esistente

In questo tutorial, la lingua predefinita del sito è l'inglese. Per gli utenti che parlano un'altra lingua, dovrebbe essere disponibile un cambio di lingua che dia loro accesso allo stesso contenuto ma in una lingua diversa. Qui, useremo il francese come seconda lingua del sito - ma solo a scopo dimostrativo. Puoi seguire i passi qui sotto usando qualsiasi lingua di cui hai bisogno.
Sebbene la creazione di un sito web multilingue non sia complicata, essa comporta l'esecuzione di una serie di passi essenziali. Pertanto, inizieremo con una nuova installazione di Joomla! 3.x, senza dati campione. In questo modo, possiamo mantenere le cose semplici e avere una buona idea dell'intero processo. Dopo aver imparato i principi di base, è più facile applicarli a un sito esistente che contiene già contenuti in una sola lingua.

Verifica delle lingue attualmente disponibili

Dopo l'installazione di Joomla, una lingua è disponibile. È possibile controllare questo navigando su Extensions  Language(s). In questo esempio, la lingua attualmente installata è l'inglese britannico (en-GB).

J3.x-Multilingual-Installed-Languages-en.png

In the side menu, Installed - Site indicates the language Joomla! uses in the frontend (texts such as Read more, Articles and Category). By clicking on Installed - Administrator you can see what language is installed for the backend.

Adding a new language

First, let’s add the language files for the language we want to use as the second language on our site. This involves two steps:

  • installing the French language package
  • telling Joomla! we want to use it as a content language.

Installing a new language package

Let's install the French language package.

  • Go to Extensions  Language(s)
  • Click the button at the top left Install Language.

A list of available translations is displayed. You can easily find the desired language by using the Search function. In this field, enter French.

J3.x-Multilingual-Install-Language-en.png

Click the button Install on the left side of the French language. Then, a message is displayed: Installation of the language was successful.. Mission accomplished! In the Languages screen (accessed through Extensions  Language(s)), you can now see that French (fr-FR) language is now available.

J3.x-Multilingual-Install-French-en.png

Option 2: Setup a multilingual site during a new installation

Install Languages

Before you complete your installation by deleting the Installation Folder, click on   Extra steps: Install languages package.

J3x Multilingual Install Extra Steps-en.png

This will continue the installation of Joomla! by taking you to a new installation page. A list of language packs is now displayed.

J3x Multilingual Language Installation-en.png

Check the language or language packs you wish to install, in our case the French package. Remember the following:

  • Language packs included in custom distributions will not be listed at this stage as they are already installed.
  • A version of the packs proposed will match the Joomla! Major version (3.0.x, 3.1.x, etc.). The minor version of the pack may not correspond.
  • Unmatched language packs in the above example may have untranslated strings.
  • The unmatched language packs will be offered as an update when the packs are updated by the registered Translation teams. The available update will be shown in the Control panel as well as in Extensions Manager  Update. This behavior is similar to Extensions Manager  Install Languages.
  • Click Next and a progress bar will be displayed while the language pack/packs are downloaded.

Scegli la lingua predefinita

When the download is complete you can choose the default language for the Site and the Administrator interface.

  • Make your choices for default languages and activate the multilingual features of Joomla.
  • Click Yes next to Activate the multilingual feature
    • Two additional choice will appear.
      • Install localised content, yes or no. This will automatically create one content category for each language installed and one featured article with dummy content for each content category installed.
      • Enable the language code plugin, yes or no. If enabled, the plugin will add the ability to change the language code in the generated HTML document to improve SEO.

Una volta completate tutte le scelte di installazione della lingua, fare clic su Avanti per procedere.

J3x Multilingual Installation multilingual-en.png

Finalise

You will now be presented with a very similar Congratulations! Joomla! is now installed. screen. The difference will be a notation of the default Administrator and Site language settings. Now you can click on the button Remove installation folder.