plone / volto

React-based frontend for the Plone Content Management System
https://demo.plone.org/
MIT License
453 stars 612 forks source link

Localization / Multilingual locales and current (interface) language vs current Multilingual site setting #1408

Open sneridagh opened 4 years ago

sneridagh commented 4 years ago

In Plone, the concept "current" language is unified, and it controls which multilingual site are you in, and the language used thorough the site.

I think it's time to separate concepts so:

I'm not 100% sure that it's achievable using Plone right now, since Plone unifies all of them, but we should be able reach to an acceptable point.

sneridagh commented 4 years ago

Related:

1401

1400

sneridagh commented 4 years ago

I've just merged https://github.com/plone/volto/pull/1450

It assumes that the current language (for react-intl) is the language of the current object, matching Plone's behavior. Also I think it's a good sensible default.

We got wrong the defaultLanguage setting from react-intl-redux it should be fixed accordingly with the default language used through the translations, which in both Plone and Volto is 'en'.

tiberiuichim commented 1 year ago

+1 on this

JeffersonBledsoe commented 4 months ago

+1 on this. We've ran into some bugs around localisation of the admin interface (en is MM/DD/YYYY date formatting, causing great confusion amongst many other English speaking countries when trying to edit their dates) and being able to customise the admin language separately from the content language would have resolved the issue