Localization overview
Introduction
Changed in version 14.0
The main module Web has been renamed to Content, and the module Info to Status. See Feature: #107628 - Improved backend module naming and structure
The Content > Status > Localization Overview module shows the page tree with the translations of each page. Choose Infinite in Depth to see all levels of the page tree:
The Localization Overview of the Camino site
A green cell shows that the page has a visible translation in the language of its column. A cell without a color shows that the page has no translation in this language. See Colors of the Localization Overview for all colors.
To translate several pages at once, check the pages in the column of a language. Then click Create new translation headers at the top of the column:
Creating the Spanish translations of two pages at once
Hiding pages if no translation exists
What a page without a translation does depends on the fallback type of the language, see Localized content:
- In a language with the fallback type
strict, such as Arabic here, the page does not exist. The menus do not show it. - In a language with the fallback type
fallback, such as Spanish here, the page shows in the default language. The menus show it as well.
The Spanish menu shows the untranslated FAQs
To hide a page in the languages that it has no translation in, edit its page properties. On the Language tab, check Hide page if no translation for current language exists:
Hiding the FAQs in the languages that they have no translation in
The Localization Overview marks the page with N, and shows its languages without a translation in red:
The FAQs in the Localization Overview after the change
The Spanish menu does not show the page anymore:
The Spanish menu without the FAQs
A visitor who opens the address of the page in Spanish gets an error:
The FAQs in Spanish cause an error now
Hiding the default language of a page
A page that exists in other languages only still needs a page in the default language, which serves as a placeholder. On the Language tab of its page properties, check Hide default language of page:
Hiding the page in the default language
The Localization Overview marks the page with D, and shows its default language in red:
A page that exists in Arabic only
Note
The page is not available in Spanish either, because Spanish falls back to English, and English is hidden.
A visitor who opens the address of the page in the default language gets an error, like the one in the previous section.
Few pages need this. It suits a page whose topic matters in one language only, for example when a language of the site serves the subsidiary of a company in one country.
Inverse control of hidden translations
It is also possible to hide all untranslated pages by default with a global setting of the installation:
$GLOBALS['TYPO3_CONF_VARS']['FE']['hidePagesIfNotTranslatedByDefault'] = true;
The setting inverts the option of the page properties. A page without the option is now hidden in the languages that it has no translation in. The Localization Overview marks it with N, and shows these languages in red. A page with the option is shown even if it has no translation, and the label of the option reads Show page even if no translation exists.
Colors of the Localization Overview
The colors of the Localization Overview mean the following:
- Green
- The page is available in this language. In the column of a language other than the default language, the page has a translation that is not hidden.
- Red
- The page is not available in this language. In the column of the default language, the page hides its default language. In the column of another language, the page has no visible translation, and is hidden without one.
- No color
- The page has no visible translation in this language. Whether it shows depends on the fallback type of the language in the site configuration.
- Yellow
- The page has more than one translation in this language, which is an error.