How to change the Superset-UI page language to Chinese? I added the following configuration, but only some data is translated. #41282
Replies: 1 comment
-
|
Hi @MMM-Source! I'm Dosu and I'm helping the Apache Superset team. Your configuration looks correct, but partial translation is expected behavior — Superset's Chinese translation coverage is incomplete by design since it's community-maintained [1]. That said, there are a couple of things you can check to maximize what is translated: Ensure both backend and frontend translations are compiled. Superset uses two separate translation pipelines [2]:
If only the backend translations are compiled, the frontend UI strings will remain in English (and vice versa) [3]. If you're using Docker, you can enable translation compilation during the build: BUILD_TRANSLATIONS=true docker compose upOther tips:
Unfortunately, incomplete translation for non-English languages is a known limitation that Superset acknowledges — i18n is actually disabled by default for this reason [7]. Contributing translations via the To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How to change the Superset-UI page language to Chinese? I added the following configuration, but only some data is translated.
BABEL_DEFAULT_LOCALE='zh'
BABEL_DEFAULT_FOLDER = 'superset/translations'
LANGUAGES = {
'zh': {'flag': 'cn', 'name': '简体中文'},
'en': {'flag': 'us', 'name': 'English'}
}
Beta Was this translation helpful? Give feedback.
All reactions