GitHub user ViniciusCavalcanteSantos edited a comment on the discussion: Can't
translate the "Settings" on the menu for brazilian portuguese
@dosu
The problem looks to be on the frontend. it loads the pt translation instead of
pt_BR. i confirmed it using the following code:
`console.log("DEBUG")`
`console.log(bootstrapData.common.locale)`
`if (typeof window !== 'undefined') {`
` configure({ languagePack: bootstrapData.common.language_pack });`
` dayjs.locale(bootstrapData.common.locale);`
`} else {`
` configure();`
`}`
it returned "pt" instead of something like "pt-BR" or "pt_BR", even if i remove
pt from the LANGUAGES list
GitHub link:
https://github.com/apache/superset/discussions/33594#discussioncomment-13290241
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]