Problems with configuration for multilanguage content

86 views
Skip to first unread message

maria gensel

unread,
Nov 10, 2021, 4:25:47 AM11/10/21
to Magnolia User Mailing List
Hi everyone, 

I am 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. I cant't figure out what's missing.

I am using Magnolia DX 6.2. 

Thanks a lot!
Maria

maria gensel

unread,
Nov 11, 2021, 4:22:56 AM11/11/21
to Magnolia User Mailing List, maria gensel
UPDATE: In conjunction with solving another language problem, a colleague found this 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.

Really hard to find... but solved!

Cheers
Maria

Christopher Zimmermann

unread,
Nov 11, 2021, 5:07:20 AM11/11/21
to user...@magnolia-cms.com, maria gensel
Hi Maria, 
Thanks for sharing your solution and for your input on the docs.
Sorry that it was not clear, but great that you've got it working.

I'll be sure docs team is aware of your input, and I'll record your input in our database.

Cheers, Topher

--
You received this message because you are subscribed to the Google Groups "Magnolia User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to user-list+...@magnolia-cms.com.
To view this discussion on the web, visit https://groups.google.com/a/magnolia-cms.com/d/msgid/user-list/5b20b04a-19c6-4b2c-99e9-fa3a66cedbc1n%40magnolia-cms.com.


--
Best regards,

Christopher Zimmermann Product Manager 
christopher...@magnolia-cms.com 

Magnolia 
Oslo-Strasse 2, 4142 Münchenstein (Basel), Switzerland
Office: +41 61 228 90 00 www.magnolia-cms.com
 
 

Reply all
Reply to author
Forward
0 new messages