GitHub user dosubot[bot] added a comment to the discussion: Texts are not 
taking translations in version 5.0.0

<!-- Answer -->
Yes, there was a change in Superset 5.0.0: translations are no longer included 
by default in Docker image builds. If you need translations, you must set the 
Docker build argument `BUILD_TRANSLATIONS=true` when building your image. If 
this step is skipped, translations will not work, even if your translation 
files are up to date. This is a procedural change—how translations are loaded 
and applied at runtime hasn't changed, but you now need to explicitly enable 
them during the build process. More details are in the 
[UPDATING.md](https://github.com/apache/superset/blob/c74fae9663e4e4341baa106209219244eb5dc629/UPDATING.md).

If you're not using Docker, make sure to run the translation build scripts: use 
`npm run build-translation` for frontend translations and compile backend 
translations with `pybabel compile -d superset/translations` as described in 
the [contributing 
how-to](https://github.com/apache/superset/blob/c74fae9663e4e4341baa106209219244eb5dc629/docs/docs/contributing/howtos.mdx).


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/9ad51d58-9603-4648-86f3-5d06d7ac6167?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/9ad51d58-9603-4648-86f3-5d06d7ac6167?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/9ad51d58-9603-4648-86f3-5d06d7ac6167?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/9ad51d58-9603-4648-86f3-5d06d7ac6167?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/9ad51d58-9603-4648-86f3-5d06d7ac6167?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/9ad51d58-9603-4648-86f3-5d06d7ac6167?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/9ad51d58-9603-4648-86f3-5d06d7ac6167?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Sh
 are on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/34027)

GitHub link: 
https://github.com/apache/superset/discussions/34027#discussioncomment-13642510

----
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]

Reply via email to