Importing locale

I copied the brazilian translations from

https://raw.githubusercontent.com/ag-grid/ag-grid/refs/heads/latest/community-modules/locale/src/pt-BR.ts

And converted it into a Python dictionary

from ag_grid_locale_br import ag_grid_locale_br
...
   dashGridOptions= {
      ...
       'localeText': ag_grid_locale_br
      ...

But there are two problems. First; I will eventually have to convert it again in some ag_grid upgrade. And second; I don’t know what to do with those ${} variable substitutions.

Does it already exist in Dash’s ag_grid?

Hello @clodoaldo,

You shouldnt need to do anything with the ${} variables, this is something that JS will pick up. By passing the object, you are giving is how you want to data to be presented. AG Grid converts those into JS values.

Is it not working?

It is working.