|
From: zuolaw <hq...@hy...> - 2007-03-14 17:36:21
|
Look like there are something more to be done to get i18n going. After building the source code, and made the following changes: 1. Modified the /web/portal/MainLayout.jsp (<html:html locale="true"> 2. Create an new ApplicationResources_jp.properties 3. native2ascii -encoding utf-8 ApplicationResources_jp.properties /converted/ApplicationResources_jp.properties 4. Copy the converted ApplicationResources_jp.properties to /web/WEB-INF/classes 5. Changed <%@ page language="java"> to <%@ page language="java" contentType="text/html; charset=UTF-8" %> in each JSP It turns out that only Login.jsp can display the Japanese characters, when logon, all the other pages display ??? no matter you change charset settings in browser. Is there some other tricks to get i18n going? Best, Zuo |