HELP!I want to make a chinese version...


Questions, Explanations, Howtos

Dungeon Dilettante

Posts: 3

Joined: Wednesday, 24th August 2011, 14:01

Post Wednesday, 24th August 2011, 14:26

HELP!I want to make a chinese version...

I like this game very much.I sent it to my friend.Then he told me that he wanted a chinese version(Our English is poor).
So I download the source code :)

I find a old topic about "How to make a no-tile chinese version"

I translated it into English

I got it,because the "init_libw32c" in "Libw32c.cc" changes code page to 437.Just add comments like this .

C/C++ code
//if (InputCP != PREFERRED_CODEPAGE)
//SetConsoleCP(PREFERRED_CODEPAGE);

//if (OutputCP != PREFERRED_CODEPAGE)
//SetConsoleOutputCP(PREFERRED_CODEPAGE);

So the default code page will be 936.
Bala bala bala bala....


!!
I do as what he said,but at last ,I got a no-tile version!(I'm sure I typed ' $ make TILES=y ')

Is there Anyone can teach me how to modify the code?Thank you……

Dungeon Master

Posts: 3618

Joined: Thursday, 23rd December 2010, 12:43

Post Wednesday, 24th August 2011, 18:06

Re: HELP!I want to make a chinese version...

One of our most active developers has plans to add multi-language support. I'll try to get him to comment here.

For this message the author dpeg has received thanks:
zerg6006

Dungeon Dilettante

Posts: 3

Joined: Wednesday, 24th August 2011, 14:01

Post Thursday, 25th August 2011, 00:22

Re: HELP!I want to make a chinese version...

dpeg wrote:One of our most active developers has plans to add multi-language support. I'll try to get him to comment here.

Yesterday I download an early version,maybe 0.3.0 or 0.6.0

In that version,I can change the *.ttf file in the settings...
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Thursday, 25th August 2011, 08:22

Re: HELP!I want to make a chinese version...

I have no idea what you're trying to do. Changing fonts won't translate the game.
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...

Dungeon Dilettante

Posts: 3

Joined: Wednesday, 24th August 2011, 14:01

Post Thursday, 25th August 2011, 12:46

Re: HELP!I want to make a chinese version...

galehar wrote:I have no idea what you're trying to do. Changing fonts won't translate the game.


oops……

Just ignore my reply……

I'm trying to make the game display chinese.

Return to Coding

Who is online

Users browsing this forum: No registered users and 11 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.