hue 4.4 webUI设置中文界面

修改LANGUAGE_CODE

/home/hue/hue-release-4.4.0/desktop/core/src/desktop/settings.py

LANGUAGE_CODE = 'zh_CN'

LANGUAGES = [
  ('de', ('German')),
  ('en-us', ('English')),
  ('es', ('Spanish')),
  ('fr', ('French')),
  ('ja', ('Japanese')),
  ('ko', ('Korean')),
  ('pt', ('Portuguese')),
  ('pt_BR', ('Brazilian Portuguese')),
  ('zh_CN', ('Simplified Chinese')),
]

  zh_CN 一定要下划线

然后重新 make apps

posted on 2019-11-29 20:24  13rj1115  阅读(478)  评论(0编辑  收藏  举报

导航