Describe the bug
Plone, historically, used the country-specific language codes in the format pt-br (plone.app.multilingual, GenericSetup), but the translations in plone.app.locales and in Volto use the format pt_BR.
In Volto, adding the following configuration to config.js will break API calls to Plone (even if plone.app.multilingual is correctly configured to both languages)
Describe the bug Plone, historically, used the country-specific language codes in the format pt-br (plone.app.multilingual, GenericSetup), but the translations in plone.app.locales and in Volto use the format pt_BR.
In Volto, adding the following configuration to config.js will break API calls to Plone (even if plone.app.multilingual is correctly configured to both languages)
Trying to rename the Volto locale to pt-br will break the LanguageSelector component and intl-locales-supported,
To Reproduce Steps to reproduce the behavior:
isMultilingual: true
,supportedLanguages: ['pt_BR', 'en'],
,defaultLanguage: 'pt_BR',
Expected behavior Calls to the Plone server would be successful
Software (please complete the following information):