GitHub user imedlee added a comment to the discussion: Clarification on Translation Support in Superset 5.0.0 Docker Image
It seems that the official Docker image does not include translation files. I attempted to build a custom Docker image using the Dockerfile, but even after setting `BUILD_TRANSLATIONS="true"`, the translation files were still missing. Upon inspecting the Docker build logs, I noticed that the `build-translation` script (`scripts/po2json.sh`) failed to execute properly during the Dockerfile build process.I try **either** of the following solutions: 1. **Modify the `package.json` file**: In `superset/superset-frontend/package.json`, change the script from `"build-translation": "scripts/po2json.sh"` to `"build-translation": "bash scripts/po2json.sh"`. 2. **Add executable permissions in the Dockerfile**: After the line `COPY superset-frontend /app/superset-frontend`, add `chmod +x superset/superset-frontend/scripts/po2json.sh`. Maybe you can give these a try too. GitHub link: https://github.com/apache/superset/discussions/34195#discussioncomment-13790776 ---- 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]
