包含多个?比如简体、繁体,是这样吗?native2ascii -encoding gb2312 application_temp.properties application_zh_ch.properties之后你再做个繁体的,不知答的对不对

解决方案 »

  1.   

    是啊,Struts框架会根据IE语言版本自动选择中、英版的
      

  2.   

    如果是不同语言的话,按楼上说的就行了,如果是同一中语言的话,很简单在转码前将其合并!
    写一个脚本的话就很方便啦
    windows 下存为.bat文件:
    copy application_1.properties + application_2.properties application_temp.properties
    native2ascii -encoding gb2312 application_temp.properties application_zh_ch.propertieslinux 下存为.sh文件还要改变为可执行文件chmod +x filename.shcat Application_1.properties Application_2.properties > Application_zh_temp.properties
    native2ascii -encoding gb2312 Application_zh_temp.properties Application.properties
      

  3.   

    给你发遍STRUTS国际化的例子加文档,请看如下链接http://tech.ccidnet.com/pub/article/c1060_a158873_p1.html如果你把以上1-8遍的例子都做完的话会有所收获
      

  4.   

    楼主是想包含几个资源文件吗?可以这样:
     <message-resources factory="com.forms.platform.CustomMessageResourcesFactory" 
        parameter="resources.ApplicationResources,resources.file1,resources.file2" />
    不知是不是这意思