Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.3.2 (Beta)
-
Component/s: Web interface
-
Labels:None
-
Complexity:Intermediate
-
Patch Submitted:Yes
-
Number of attachments :
Description
I translated the resource file to Simplified Chinese, and add a filter to set the response encoding as UTF-8 for the multi-bytes support.
Issue Links
- is duplicated by
-
CONTINUUM-2076
please add chinese localization too
-
- is related to
-
CONTINUUM-2432
Page suddenly switches to Chinese part way through
-
I think you can use Spring CharacterEncodingFilter in web.xml. It's clearer.
I'm translating continuum to spanish and I need a UTF-8 filter for menu strings too.
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class> org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>