HiromuHota / pentaho-kettle

webSpoon is a web-based graphical designer for Pentaho Data Integration with the same look & feel as Spoon
https://hub.docker.com/r/hiromuhota/webspoon/
Apache License 2.0
502 stars 192 forks source link

how to change the language? #233

Open CriysHot opened 3 years ago

CriysHot commented 3 years ago

how to change the language? i want to use chinese.

maijieren commented 3 years ago

您的问题解决了吗,我也需要汉化,不知道怎么搞

CriysHot commented 3 years ago

源码里面是根据操作系统的字符集来确认中英文的,docker我弄了不行,你把docker里面的文件复制出来,服务器字符集换成utf-8 cn就行 ------------------ 原始邮件 ------------------ @.> 发送时间: 2021年7月15日(星期四) 下午5:57 @.>; @.**@.>; 主题: Re: [HiromuHota/pentaho-kettle] how to change the language? (#233)

sweetcard commented 2 years ago

ENV CATALINA_OPTS="-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true" ENV JAVA_OPTS="-Duser.language=zh -Duser.region=CN -Dfile.encoding=UTF-8"

Set env for tomcat and it should work.

qianxiaoning commented 2 years ago

服务器执行export LANG=zh_CN.UTF-8,再重新tomcat就行。

oulinhuao commented 1 year ago

docker安装时,把/home/kdroot/kettle/setenv.sh映射到物理机。然后更改内部内容为: CLASSPATH=/usr/local/tomcat/lib/webspoon-security-9.0.0.0-423-22.jar CATALINA_OPTS="-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true" JAVA_OPTS="-Duser.language=zh -Duser.region=CN -Dfile.encoding=UTF-8" (第一行不变,增加下面两行) 重启docker