From bed6f880629d35a948f58c1025ab3e62f6bc53ef 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 c6f53cb3d5..200c40a919 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](https://doc.ibexa.co/projects/userguide/en/latest/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: ``` @@ -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 ef471c792c..a90fb61f79 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`.