[opencms-dev] OpenCms-zh module for OpenCms 8.0.3 is ready now

杨光 sun.java at 163.com
Tue Jan 17 08:30:51 CET 2012


太感谢了。


另祝新年快乐。


--

*******************************************
杨光   
Tel:+86 13610812320
Email:sun.java at 163.com
QQ:53892777
http://www.ursun.cn
******************************************* 

At 2012-01-17 10:06:37,"shi.jinghai" <huaruhai at hotmail.com> wrote:
Hi list,


OpenCms-zh module for OpenCms 8.0.3 is ready now.




Download
You can download it from https://github.com/shijh/opencms/downloads
1. opencms-zh-8.0.3.war for OpenCms 8.0.3 Chinese localization
   MD5: 5c28e73b1bc714daf84b1874edd51d19




Build from Source Code
1. Download source code of this project from github.com.


2. Download source code of opencms-core from https://github.com/alkacon/opencms-core.


3. Download opencms.war from www.opencms.org.


4. Config pom.xml:
4.1 Set "opencms-core-basedir" point to your local opencms-core directory
    <property name="opencms-core-basedir" value="/Users/ShiJinghai/git/opencms-core" />

    


4.2 Set src in unwar point to your local opencms.war
    <unwar src="/Users/ShiJinghai/Downloads/opencms_8.0.3/opencms.war"
  dest="${basedir}/target/opencms.war" overwrite="false" />


5. Run maven clean.
   The necessary source code will be copied from opencms-core to this project. You can compare to decide whether they should be modified.


6. Run maven package.
   This will build a opencms-zh-{version}.war under target folder.


7. Deploy the opencms-zh war and install it as a normal opencms war.




Trouble Shooting
1. How could I know what you changed in the source code?
   You can search ShiJinghai in the source code to see what changes. I commented every changes in java with a format like this:
       // modyfied by ShiJinghai, huaruhai at hotmail.com  2011-12-14
       result.append(" style=\"width: " + (curTab.length() * 12 + addDelta) + "px;\"");
       // result.append(" style=\"width: " + (curTab.length() * 8 + addDelta) + "px;\"");




Feedback
Welcome any feedback on this project! You can use github.com to comment the source code.




Happy New Year,


Shi Jinghai



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120117/43f27194/attachment.htm>


More information about the opencms-dev mailing list