Letters

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
User avatar
Av3nger (Offline)
Peon
Peon
Posts: 88
Joined: Sat Oct 14, 2006 6:18 pm

Letters

Post by Av3nger (Offline) » Thu Dec 14, 2006 1:52 am

Hello I'm from Brazil...
And in our language we have the follow letters:ã,ç,Ã,é,É and i tried to put it on the game but not successful... :cry:
Please Developers help me with this :wink:

//Av3nger
Sorry for my bad english

I'm from Brazil =/


---My company:

http://www.uppgames.net

--TMW Brazilian fansite

http://www.tmwbrasil.co.nr/
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Post by Crush » Thu Dec 14, 2006 2:13 am

check the following sourcecode positions:

browserbox.cpp line 54
gui.cpp line 120
gui.cpp line 132

there you will find how the font files are interpreted. All you have to do is add the missing characters to the font files using a graphic program and add these in the lines mentioned above at the correct locations.

Oh, and this is not a win32 specific issue. It would fit better into the general development forum.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Av3nger (Offline)
Peon
Peon
Posts: 88
Joined: Sat Oct 14, 2006 6:18 pm

Post by Av3nger (Offline) » Thu Dec 14, 2006 2:19 am

Crush wrote:
there you will find how the font files are interpreted. All you have to do is add the missing characters to the font files using a graphic program and add these in the lines mentioned above at the correct locations.

Oh, and this is not a win32 specific issue. It would fit better into the general development forum.
Wich graphic program?Photo Shop, Fireworks?
and sorry about the wrong forum...

//Av3nger
Sorry for my bad english

I'm from Brazil =/


---My company:

http://www.uppgames.net

--TMW Brazilian fansite

http://www.tmwbrasil.co.nr/
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Post by Crush » Thu Dec 14, 2006 2:22 am

use whatever you want as long as it can save 32bit png files (both programs should be able to).
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Av3nger (Offline)
Peon
Peon
Posts: 88
Joined: Sat Oct 14, 2006 6:18 pm

Post by Av3nger (Offline) » Thu Dec 14, 2006 2:29 am

Ok i gonna try Thanks a lot!
Sorry for my bad english

I'm from Brazil =/


---My company:

http://www.uppgames.net

--TMW Brazilian fansite

http://www.tmwbrasil.co.nr/
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Post by Crush » Thu Dec 14, 2006 2:34 am

oh, and instead of translating all hardcoded texts directly in the sourcecode and release your own package you should maybe consider adding support for GNU gettext instead. That might be a little bit more work but it would make it much easier to translate the program into other languages as well. Even by people who have no programming experience. It would also allow to release small language files instead of a huge localized version of the complete game.

Here is a gettext tutorial that is much more readable than the official documentation: http://oriya.sarovar.org/docs/gettext/memo.html
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Av3nger (Offline)
Peon
Peon
Posts: 88
Joined: Sat Oct 14, 2006 6:18 pm

Post by Av3nger (Offline) » Thu Dec 14, 2006 2:59 am

Ok, tomorrow i start to read the tutorial and start to translate...
Thanks a lot for the tip man :wink:

Thanks Again,

//Av3nger
Sorry for my bad english

I'm from Brazil =/


---My company:

http://www.uppgames.net

--TMW Brazilian fansite

http://www.tmwbrasil.co.nr/
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Post by ElvenProgrammer » Thu Dec 14, 2006 9:52 am

Moved to General development forum
User avatar
Av3nger (Offline)
Peon
Peon
Posts: 88
Joined: Sat Oct 14, 2006 6:18 pm

Post by Av3nger (Offline) » Thu Dec 28, 2006 5:54 pm

it was solved could some moderator close it?
for not me spammed...

//Av3nger
Sorry for my bad english

I'm from Brazil =/


---My company:

http://www.uppgames.net

--TMW Brazilian fansite

http://www.tmwbrasil.co.nr/
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: Wed Sep 08, 2004 8:48 pm
Location: Espoo, Finland

Post by Rotonen » Thu Dec 28, 2006 8:03 pm

How about your gettext implementation?
This message used to be meaningful.
User avatar
Av3nger (Offline)
Peon
Peon
Posts: 88
Joined: Sat Oct 14, 2006 6:18 pm

Post by Av3nger (Offline) » Fri Dec 29, 2006 1:40 am

maybe you could help me =]

I can send you the file and you compile for me or send .cpp files wich i must change ^^

//Av3nger
Sorry for my bad english

I'm from Brazil =/


---My company:

http://www.uppgames.net

--TMW Brazilian fansite

http://www.tmwbrasil.co.nr/
Post Reply