Hello Jiangeb, there is the maven step (mvn package) missing.
If you set webui.supported.locales in dspace.cfg to en, zh, then you got to:- put your customized Messages_en.properties and Messages_zh.properties (or with variant) in [dspace-src]/dspace/modules/jspui/src/main/resources
- run mvn package - cd [dspace-source]/dspace/target/dspace-[version]-build.dir]- run ant update (and init_configs if you changed dspace.cfg in the source directory)
- stop your servlet container - redeploy your jspui - start your servlet containerIt would be great if you would contribute your tranlation work back to the DSpace community, see: http://wiki.dspace.org/index.php/I18nSupport
For Chinese there is just a very old initial stub of a translation. Hope that helps Claudia Jürgen jiangeb schrieb:
Hi,everyone ,I need your help!
I still can not see chinese page. My work is below:
1 I translated Messages.properties file into chinese and encode with UTF-8
(native2ascii -encoding utf-8) such as:
jsp.adminhelp = \u7ba1\u7406\u5e2e\u52a9...
jsp.administer = \u7ba1\u7406
jsp.admintools = \u7ba1\u7406\u5de5\u5177
jsp.general.authors.button =\u4f5c\u8005
jsp.general.date.button =\u65e5\u671f
jsp.general.titles.button =\u9898\u540d
......
2 rename Messages.properties as Messages_zh_cn.properties
3 put the file into [dspace-src]/dspace/modules/jspui/src/main/resources
(then,there are two files:Messages.properties and Messages_zh_cn.properties)
4 rebuild dspace through ANT with target 'update' or restart tomcat server;
5 my web browse is IE which is not in english
6 modified dspace.cfg webui.supported.locales = en,zh
but I still saw a english not a chinese page
I need your help. Thanks very much
------------------------------------------------------------------------
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
------------------------------------------------------------------------
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel
<<attachment: Claudia_Juergen.vcf>>
------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com
_______________________________________________ Dspace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-devel
