版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。版权
CDH专栏收录该内容
26 篇文章1 订阅
订阅专栏
注意:CDH6以后这样设置会出错!
修改desktop下的setting.py
cd /opt/cloudera/parcels/CDH/lib/hue/desktop/core/src/desktop/ vimsetting.py
修改
LANGUAGE_CODE = 'zh_CN' #LANGUAGE_CODE = 'en-us' LANGUAGES = [ ('de', ('German')), ('en-us', ('English')), ('es', ('Spanish')), ('fr', ('French')), ('ja', ('Japanese')), ('ko', ('Korean')), ('pt', ('Portuguese')), ('pt_BR', ('Brazilian Portuguese')), ('zh_CN', ('Simplified Chinese')), ]
返回hue目录重新编译
cd /opt/cloudera/parcels/CDH/lib/hue make apps