From b47d72650baddf6a9953313a11ad935c64d33f9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Tue, 25 Feb 2025 17:05:00 +0100 Subject: [PATCH] Added mention about language configuration for the back office --- docs/multisite/languages/languages.md | 4 ++-- docs/multisite/set_up_translation_siteaccess.md | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/multisite/languages/languages.md b/docs/multisite/languages/languages.md index e63049b1733..471bec12a18 100644 --- a/docs/multisite/languages/languages.md +++ b/docs/multisite/languages/languages.md @@ -22,7 +22,7 @@ However, even if work on a draft takes time and other translations are updated i ### Adding available languages The multilanguage system operates based on a global translation list that contains all languages available in the installation. -Languages can be [added to this list from the **Admin** panel]([[= user_docĀ =]]/content_management/translate_content/) in the back office. +Languages can be [added to this list from the **Admin** panel]([[= user_doc =]]/content_management/translate_content/) in the back office. After adding a language be sure to dump all assets to the file system: ```bash @@ -30,7 +30,7 @@ yarn encore # OR php bin/console ibexa:encore:compile ``` -**The new language must then be added to the [SiteAccess](multisite.md) configuration**. +**The new language must then be added to the [SiteAccess](multisite.md) configuration, both for the frontend and back office SiteAccesses.** Once this is done, any user with proper permissions can create content item versions in these languages in the user interface. ### Translatable and untranslatable fields diff --git a/docs/multisite/set_up_translation_siteaccess.md b/docs/multisite/set_up_translation_siteaccess.md index ef471c792c3..a90fb61f791 100644 --- a/docs/multisite/set_up_translation_siteaccess.md +++ b/docs/multisite/set_up_translation_siteaccess.md @@ -60,10 +60,13 @@ ibexa: languages: [fre-FR, eng-GB] site: languages: [eng-GB] + admin_group: + languages: [fre-FR, eng-GB] ``` With this configuration, the main English site displays content in English and ignores French content. The French site displays content in French, but also in English, if it doesn't exist in French. +The back office SiteAccess uses all languages used by the frontend SiteAccesses. Clear the cache by running: `php bin/console cache:clear`.