• Welcome to Simple Machines Community Forum. Please login or sign up.

How to translate english mambo into chinese?

Started by yesman123, November 14, 2005, 12:31:14 AM

Previous topic - Next topic

yesman123

i am new to 汉化. i was wondering if anyone could show me the methods...
thanks...

PS: did anyone translate the mambo quiz component com_quiz06 into chinese? i installed it in my chinese mambo, but when i clicked it, it gave an error: invalid cetegory parameter...(also it could not find simplified_chinese and therefore it went to english)...

yesman123

basically i was wondering how to 汉化 any php script system.

CapriSkye

you'll have better luck asking the question here
http://bbs.mambochina.net/

how to translate depends on the software.

yesman123

thanks, i just did...i like the frontpage layout of www.mambochina.net...all the menu items appear in the middle with links to articles...i guess i need to ask for some information about it on the site...

fmben

Do you have interest in translating the smf help file, the main smf language file I have translated, you check double check it for us, if you have time, hope you can help to translate the help file , please contact me, thanks.

yesman123

i am not good at translation at all...all i wanted was the steps in translating a php cms system or a forum...that is, do i need to add some lines on top of each php script, is there some kind of coding with which i need to replace certain english words in each script, etc...

Sheepy

Not that I know of for SMF.  SMF is completely internationalised.  You just unpack the language pack at root, preferably before installation.

yesman123

i know, i already have the chinese version of smf running (also the english version)...i just wanted to know how to 汉化 in general (the steps)...how do you replace the english words? that is, using what coding etc...can you just copy and paste the chinese words in the script...

CapriSkye

if the php software you're translating have language file, open it you'll probably find something like
$txt[4] = 'Boards';

$txt[4] is the variable, you shouldn't be changing that. Boards is the string you want to translate.

some other have this kind of language file,
@define('CONTROL_PANEL', 'Control Panel');

@define() is the function, CONTROL_PANEL is the constant, and Control Panel is the string you want to translate.

it's easy to pick out which string you shouldn't be touching, note CONTROL_PANEL is all cap and no space.

yesman123

thanks, then you just replace 'boards' with the chinese character '板块'?

CapriSkye

right, but like i said, it all depends on what php software.
ask the devs about it, and most have documenation online about how to translate.

yesman123

thanks, i will first try to translate the quiz component of mambo...

Advertisement: