Hi all, Here is a screen shot about a module that has been developed above ofbiz and is working in arabic. the UILabels files were geenrated bu RBE for Eclipse.
I have no problem in working with arabic. You can see that the only issue remaining is to make the UI RTL. I will work on this issue the coming days inchallah and post it on Jira. Regards. 2007/2/23, Shi Jinghai <[EMAIL PROTECTED]>:
Hi there, I just saw Adrian Crum's message on RTL in OFBiz dev mail list. Here are the steps how we translate Chinese UI labels (i18n standard method): 1. Create an OFBiz-zh project in Eclipse. 2. Create a src-OFBiz-zh-UTF8 directory in the project. 3. Create pathes just as OFBiz. 4. Copy the UI files and rename them to *_zh.properties, set the files' encoding to UTF-8 in Eclipse. According to ISO-639, zh means Chinese. You can find your language here: http://www.loc.gov/standards/iso639-2/php/English_list.php 5. Translate the UI labels. 6. Create a build.xml under the project. You can use our build.xml as start:http://ofbiz-zh.cvs.sourceforge.net/ofbiz-zh/OFBiz-zh/ 7. Run native2ascii of the build.xml which will convert property files under src-OFBiz-zh-UTF8 to src-OFBiz-zh-ascii. The Chinese charactors will be translated in the style of \uxxxx \uxxxx. Here, x is the HEX number. (I remember there's a paragraph in JDK says Java reads file in iso-8859-1 but I cannot find it now.) 8. Copy the property files under src-OFBiz-zh-ascii to the deployed OFBiz directory. 9. Start OFBiz and choose Chinese and check the translation. 10. Repeat the necessary steps above to keep up changes or improve the translation quality. Hope this is helpful to you. Have a nice weekend, Shi Jinghai/Beijing Langhua Ltd.
