|
Problem
trying to configure multilanguage content. I used this documentation here: https://docs.magnolia-cms.com/product-docs/6.2/Administration/Language/Language-configuration.html and did these steps:
- configuration of system languages
- enabling multilanguage authoring (in /config/server/i18n/authoring)
- enabling i18n content support (in /config/server/i18n/content)
- definition of locales in the site (adding i18n/locales/... to my site with class info.magnolia.cms.i18n.DefaultI18nContentSupport -> single tree)
- set i18n = true on content type properties
See my dummy-app.yaml
!content-type:dummy
name: dummy-app
label: Dummy
icon: icon-content-app
subApps:
detail:
form:
properties:
name:
i18n: true
title:
i18n: true
I get a language dropdown while editing websites but no one when I add same data from another workspace eg. in my dummy-app.
Update
documentation: https://docs.magnolia-cms.com/product-docs/6.2/Developing/API/Delivery-API/Requesting-localized-content-with-the-delivery-endpoint.html
I had to configure locales for the fallback site or extend a site definition with locales. While editing structured content (not pages) the locales fo the fallback site will be used while showing the language toggle.
|