GitHub user adis-sabotic edited a discussion: Adding custom translations to Superset 3.1.0
### Bug description Hello, I am trying to embed Superset dashboard into my project (I am using version 3.1.0) and I am using helm to run Superset with my-values.yaml file, the problem I have is that the Time Range filter is in English and I need to translate it into Montenegrin or Serbian, I know that Montenegrin or Serbian isn't supported officially but I just need to change that filter and I can keep everything else in English. I have tried doing this on my own with the help of Apache Superset AI but I did not manage to fix everything. Up until now I have done this: 1. Added .po and compiled it into .mo file for sr inside the superset/translations/sr 2. Built new docker image and used that inside my my-values.yaml file with English so I have drop down to choose English or Montenegrin(Serbian) But now when I run Superset and log in as Admin I can see the drop down and it works while it's in English I can see my dashboard, charts are there that I have made before and so on, but when I change the language it just starts loading and I see the error in console <img width="460" height="322" alt="Image" src="https://github.com/user-attachments/assets/b4667f14-a282-44cf-aa31-b547111c1463" /> ### Screenshots/recordings _No response_ ### Superset version master / latest-dev ### Python version 3.9 ### Node version 16 ### Browser Firefox ### Additional context _No response_ ### Checklist - [x] I have searched Superset docs and Slack and didn't find a solution to my problem. - [x] I have searched the GitHub issue tracker and didn't find a similar bug report. - [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. GitHub link: https://github.com/apache/superset/discussions/36029 ---- 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]
