You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "José Morales Martínez (JIRA)" <ji...@codehaus.org> on 2009/01/20 23:22:19 UTC

[jira] Commented: (CONTINUUM-2027) The i18n patch for zh_CN

    [ http://jira.codehaus.org/browse/CONTINUUM-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161788#action_161788 ] 

José Morales Martínez commented on CONTINUUM-2027:
--------------------------------------------------

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>

> The i18n patch for zh_CN
> ------------------------
>
>                 Key: CONTINUUM-2027
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2027
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Web interface
>            Reporter: zhoushuqun
>             Fix For: 1.3.2
>
>         Attachments: i18n-zh_CN.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira