(1) pentaho主界面
biserver-ce/tomcat/webapps/pentaho/jsp/PUCLogin.jsp (修改里面的内容)
在里面有一句“<td align="center" bordercolor="0" valign = "middle"><!--Begin First Box Row -->,往后就开始是页面上现实的内容。
(2)登陆窗口(properties文件用myeclipse修改)
在pentaho主界面上点击登录后,就会出现一个登陆窗口,其实网页上面显示的是属性文件中的内容。修改biserver-ce/tomcat/webapps/pentaho/mantleLogin/messages/supported_languages.properties, 在里面加入"zh=中文"然后保存为UTF-8格式.。 接着修改biserver-ce/tomcat/webapps/pentaho/mantleLogin/messages/MantleLoginMessages.properties 或是创建一个biserver-ce/tomcat/webapps/pentaho/mantleLogin/messages/MantleLoginMessages_zh.properties ,修改键所对应的值(值就写成中文, 如password=密码),然后保存为UTF-8格式.
(3)pentaho用户界面的英文信息
1.提示信息
在登录完成后,会出现"pentaho user console is loading... please wait". 页面文件位置/biserver-ce/tomcat/webapps/pentaho/mantle/Mantle.jsp,“<img src="mantle/large-loading.gif" width="32" height="32"/><%= properties.getString("loadingConsole") %><a href="http://www.pentaho.com"></a><br/><span id="loading-msg"><%= properties.getString("pleaseWait") %></span>”
在Mantle.jsp中添加
<%@ page pageEncoding="UTF-8"%>
方法一:
这两句是显示pentaho user console is loading... please wait的,你可以修改biserver-ce/tomcat/webapps/pentaho/mantle/messages/messages.properties的内容(方法和上面的相似):loadingConsole=Pentaho User Console is Loading... 和 pleaseWait=Please Wait.
方法二:
或者直接用UTF-8的汉字写死在jsp页面中如(<img src="mantle/large-loading.gif" width="32" height="32"/>欢迎<br/>). 中文转换UTF-8代码点击这里。这两种方法都可以.
3.标题信息
标题有三个
pentaho主界面的标题: biserver-ce/tomcat/webapps/pentaho/jsp/PUCLogin.jsp,该文件中title标签是出现提示信息时页面的标题,修改title里面的值,这里需要使用UTF-8编码如(欢迎).转换代码见上面.
pentaho登录时的标题:
biserver-ce/tomcat/webapps/pentaho/mantle/Mantle.jsp,这是在登录过程中网页的标题.这里需要使用UTF-8编码
pentaho用户界面(登录后)标题:biserver-ce/tomcat/webapps/pentaho/mantle/messages/messages.properties中的productName, 直接写中文.
(4) 图片
在pentaho主界面上有一个图片,存放位置:biserver-ce/tomcat/webapps/pentaho-style/images/login/start_logo.png
登录后有三个图片需要修改:
biserver-ce/tomcat/webapps/pentaho/mantle/quicklaunch_bg.png(背景图片,下面有三个超链接),
biserver-ce/tomcat/webapps/pentaho/mantle/launch/images/ql_logo.png(背景图片的logo)
biserver-ce/tomcat/webapps/pentaho/mantle/launch/images/logo.png(右上角的logo)