Typo3/Frontend Localization: Unterschied zwischen den Versionen
Zeile 43: | Zeile 43: | ||
=View the translated pages in the frontend= | =View the translated pages in the frontend= | ||
*To see if your changes work as you wish on the frontend, click on the view mode | |||
[[Datei:Schermata 2021-02-24 alle 17.19.26.png|mini|ohne|View mode]] | |||
*Change the language of the website into the one you are working with | |||
[[Datei:Schermata 2021-02-24 alle 17.21.08.png|mini|ohne|Choose the language]] |
Version vom 24. Februar 2021, 17:22 Uhr
- TYPO3 CMS comes with the built-in ability to handle web sites in multiple languages.
Adding a new language
Make a new language available
- First of all you have to add a new language available for the website development
- Choose and configure the language that you want to add
- Save>Close
- Now the language is available
Activate the new language for the website
- Enter in the site management>Sites - This module is limited to admin users only
- Click on edit Site configuration
- In the big square are shown the available languages for the website
- Just click on the one that needs to be added to the website and it will be instantly be available.
- Be sure that all the fields are properly configured
- Now you can work with the new language and make the website multi language
Translate the website pages
- To translate the pages of your website enter in the Page module and select the page you want to translate in the tree section
- The next step is to edit the new language name of the page
- Don't forget to update the page URL
- Save>Close
- Now you will be able to see the 2 versions of the page, in both the languages you need
- Be sure to select the Languages view
- Now you have to translate the contents. To do so click on the button "Translate"
- It is possible to choose between the options:
- Translate: will create a direct connection between the original language and the language you translate to.
- Copy: You are freer to design your website. More recommended
- With the option Copy the software will generate a copy of the content that you will have to edit and translate in the new language
- The new content is in Light grey color because it is not enabled. Remember to enable the content if you want to see it in the frontend
- In the edit section of the new page you can translate the contents and set everything as you wish
- Save>Close
View the translated pages in the frontend
- To see if your changes work as you wish on the frontend, click on the view mode
- Change the language of the website into the one you are working with