Simple Machines Community Forum

SMF Support => Language Specific Support => 中文 (Chinese) => Topic started by: guppy on May 27, 2005, 12:05:04 AM

Title: How to translate to Chinese Simplified?
Post by: guppy on May 27, 2005, 12:05:04 AM
I have some language strings added to my english language pack. I want to translate them and add on to the chinese language pack. But when I open up the files with wordpad, I only see strange characters. What program should I use to do the translation?

下载了简体中文语言包, 用WORDPAD开档案只看到乱码. 请问大家是用什么软件来修改中文电脑程序?  :-\
Title: Re: How to translate to Chinese Simplified?
Post by: CapriSkye on May 27, 2005, 12:42:52 AM
try emeditor or ultraedit, but wordpad shouldn't cause problem. i tried it before.
Title: Re: How to translate to Chinese Simplified?
Post by: guppy on May 27, 2005, 05:35:51 AM
ok i'll give them a try  ;)

anyway, this' an e.g. of what i get:

Code: [Select]
$txt['newmessages0'] = 'ÌõÐÂÐÅÏ¢';
$txt['newmessages1'] = 'ÌõÐÂÐÅÏ¢';
$txt['newmessages3'] = 'ÐÂÐÅÏ¢';
$txt['newmessages4'] = ',';
Title: Re: How to translate to Chinese Simplified?
Post by: Sheepy on June 23, 2005, 09:29:04 AM
Perhaps the easiest way is to get a UTF-8 simplified Chinese language pack.  One can be acquired from my forum at http://www.anetcity.com/bbs/index.php?topic=760.0. Some others has made their own version too.

Otherwise, the official language pack is in GB2312 encoding. If you're using Windows XP, you can edit the files by changing default codepage for non-Unicode application (find it in control panel > language).

If like me you're using Trad. Chinese Windows, you can do the same but you'll be unable to edit Big5 files.  Or you can create another account if you've a multilingual Windows.

It can gets more complicated, for example if you want to use it to build a bilingual site...
Title: Re: How to translate to Chinese Simplified?
Post by: guppy on June 23, 2005, 10:18:16 PM
that was very helpful  :) thanks!