Translating the AG Grid (changing the locale)

Hello everyone, I’m having problems translating the AG Grid interface texts to my native language (brazilian portuguese). I found some tutorials for javascript like this one and this one. As I don’t know javascript, unfortunately I couldn’t make it work in Dash using Python.

Could anyone tell me exactly how to do this? Thanks in advance! See you!

Hello @miloski,

Welcome to the community!

What have you tried?

You should just be able to pass the dictionary of renames directly to the property localeText inside of the dashGridOptions.


I’m sorry, I was trying to do ultra complicated stuff, writing lots of javascript, but just passing the dictionary in a Python format actually works. Thank you so much!


No problem!

Glad it works. :grin:

1 Like

Can someone please include this information into the Dash AG Grid docs? Layout and Styles seems like a good place to mention localeText option.

For the record, here’s the dict for Russian: Русская локализация agGrid / Russian localization for agGrid (early 2021) · GitHub

1 Like

Yes - it’s on the list :slight_smile:


1 Like