Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation files are not compiled for docker images latest/latest-dev #17876

Closed
3 tasks done
hbruch opened this issue Dec 27, 2021 · 0 comments · Fixed by #17877
Closed
3 tasks done

Translation files are not compiled for docker images latest/latest-dev #17876

hbruch opened this issue Dec 27, 2021 · 0 comments · Fixed by #17877
Labels
#bug Bug report

Comments

@hbruch
Copy link
Contributor

hbruch commented Dec 27, 2021

When starting superset using docker-compose-non-dev.yml, many messages are rendered untranslated, though the .po files include translations for their keys.

How to reproduce the bug

  1. Enable a rather complete language in superset_config_docker.py:
BABEL_DEFAULT_LOCALE = "de"
LANGUAGES = {
    "de": {"flag": "de", "name": "Deutsch"},
    "en": {"flag": "us", "name": "English"},
}
  1. Start superset via docker-compose -f docker-compose-non-dev.yml' p -d
  2. Open http://localhost:8088/
  3. See a couple of untranslated messages

Expected results

See messages translated in .po files to appear translated in the frontend

Actual results

Messages translated in .po files appear untranslated in the frontend

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar. (relates partly to Translations files don't translate everything #14848)

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant