GitHub user ViniciusCavalcanteSantos added a comment to 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 notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to