You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Yisel-Hernandez (via GitHub)" <gi...@apache.org> on 2025/07/02 15:21:02 UTC
[D] Texts are not taking translations in version 5.0.0 [superset]
GitHub user Yisel-Hernandez created a discussion: Texts are not taking translations in version 5.0.0
Good morning, I have the translation files updated; however, in version 5.0.0, I’ve noticed that the texts are not applying the translations. Was there any change related to this process?
GitHub link: https://github.com/apache/superset/discussions/34027
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Texts are not taking translations in version 5.0.0 [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
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> [](https://go.dosu.dev/discord-bot) [](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 notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Texts are not taking translations in version 5.0.0 [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
GitHub user dosubot[bot] edited a comment on 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?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=apache%2Fsuperset&message_id=9ad51d58-9603-4648-86f3-5d06d7ac6167) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/34027#discussioncomment-13642510
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org