[MTOS-dev] I have made an Chinese language translate

Hirotaka Ogawa hirotaka.ogawa at gmail.com
Wed Jan 30 22:28:15 PST 2008


Hi,

I tried to separate your modifications to MTOS latest/dev tree as a patch.

Using this patch, you'll be able to generate zh_cn package as like follows:

$ svn export http://code.sixapart.com/svn/movabletype/branches/release-29
$ cd release-29
$ patch -p0 < mtos-release29-r1348-zh_cn-support.patch
$ env LANG=C ./build/exportmt.pl --local --pack=MTOS --lang=zh_cn
$ ls -l MTOS-*
-rw-r--r-- 1 ogawa ogawa 4036816 2008-01-31 15:22
MTOS-4.1-zh_cn-release-29-r1348-20080131.tar.gz
-rw-r--r-- 1 ogawa ogawa 5161383 2008-01-31 15:22
MTOS-4.1-zh_cn-release-29-r1348-20080131.zip

This patch is slightly different from yours:

- Swaps zh_cn with zh-cn to be compatible with other locales.
- Changes in stylesheets are not included. These changes should be
included in mt-static/mt_zh_cn.css.
- mt-static/mt_zh_cn.js is automatically generated by
build/mt-dists/make-js script.  Therefore it won't be exactly same as
your mt-static/mt_zh-cn.js.

And, the following files are required to localize totally:

- index.html.zh_cn
- readme.html.zh_cn

Thanks,

On Jan 31, 2008 10:38 AM, 平生一笑 <thinkjam at gmail.com> wrote:
> Hi!
>
> I have made an Chinese language translate and Chinese date support.
>
> http://www.thinkjam.org/zoptuno/projects/zh-movable-type.html
>
> --------
> 平生一笑(Zoptuno)
> http://www.thinkjam.org/zoptuno/
>
> _______________________________________________
> MTOS-dev mailing list
> MTOS-dev at sixapart.com
> http://www.sixapart.com/mailman/listinfo/mtos-dev
>
>



-- 
Hirotaka Ogawa makes no sense.
http://as-is.net/blog/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mtos-release29-r1348-zh_cn-support.patch
Type: text/x-patch
Size: 316915 bytes
Desc: not available
Url : http://www.sixapart.com/pipermail/mtos-dev/attachments/20080131/12f351d3/attachment-0001.bin 


More information about the MTOS-dev mailing list