Page 1 of 1
Letters
Posted: 14 Dec 2006, 00:52
by Av3nger (Offline)
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...
Please Developers help me with this
//Av3nger
Posted: 14 Dec 2006, 01:13
by Crush
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.
Posted: 14 Dec 2006, 01:19
by Av3nger (Offline)
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
Posted: 14 Dec 2006, 01:22
by Crush
use whatever you want as long as it can save 32bit png files (both programs should be able to).
Posted: 14 Dec 2006, 01:29
by Av3nger (Offline)
Ok i gonna try Thanks a lot!
Posted: 14 Dec 2006, 01:34
by Crush
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
Posted: 14 Dec 2006, 01:59
by Av3nger (Offline)
Ok, tomorrow i start to read the tutorial and start to translate...
Thanks a lot for the tip man
Thanks Again,
//Av3nger
Posted: 14 Dec 2006, 08:52
by ElvenProgrammer
Moved to General development forum
Posted: 28 Dec 2006, 16:54
by Av3nger (Offline)
it was solved could some moderator close it?
for not me spammed...
//Av3nger
Posted: 28 Dec 2006, 19:03
by Rotonen
How about your gettext implementation?
Posted: 29 Dec 2006, 00:40
by Av3nger (Offline)
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