dosubot[bot] commented on issue #35959: URL: https://github.com/apache/superset/issues/35959#issuecomment-3480848506
<!-- Answer --> French translations are supported in Superset 5.0.0, but they are not included in the default Docker image to reduce size and build time. To enable French (or any other non-English) translations, you need to build your own Docker image with the build argument `BUILD_TRANSLATIONS=true`. This triggers the build process to compile backend translations and generate frontend translation JSON files from the .po sources, making them available to the application. You do not need to manually copy messages.json files—these are generated during the build process from the .po files. The translation files are located at `superset/translations/fr/LC_MESSAGES/messages.po` for the backend, and the frontend JSON files are generated from these using the build scripts. If you want translations in your build, set the Docker build argument and let the build process handle the rest. This change was introduced in 5.0.0 to reduce image bloat; translations are now opt-in for Docker builds. For more details, see the [UPDATING.md notes](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/UPDATING.md#L45-L612) and [Dockerfile implementation](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/Dockerfile#L26-L209). If you build your image with `BUILD_TRANSLATIONS=true`, French translations should be available and work as expected. <!-- 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/c3946c41-6300-4c8c-bde4-fd963fa3d279?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/c3946c41-6300-4c8c-bde4-fd963fa3d279?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/c3946c41-6300-4c8c-bde4-fd963fa3d279?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/c3946c41-6300-4c8c-bde4-fd963fa3d279?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c3946c41-6300-4c8c-bde4-fd963fa3d279?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/c3946c41-6300-4c8c-bde4-fd963fa3d279?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c3946c41-6300-4c8c-bde4-fd963fa3d279?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](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/issues/35959) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
