Topic: Spanish Lang v0.1.2

Edit:
Newest spanish lang v0.1.2
http://opensnc.sourceforge.net/forum/vi … d=243#p243

Last edited by lainz (2009-04-01 02:53:27)

Re: Spanish Lang v0.1.2

I just tested it on revision 18 and the special characters do not show up.  The locations where they are supposed to be are just blank.  Also, some words or sentences that are very long get clipped.

Other than that it looks good and should help out the many Spanish-speakers we have out there. big_smile

I don't personally sprechen ze espanol so I did not proofread. wink

Last edited by Celdecea (2009-03-22 00:04:27)

Re: Spanish Lang v0.1.2

ok, i speak spanish,    
when have compiled the new version i can fix it

Last edited by lainz (2009-03-22 02:14:27)

Re: Spanish Lang v0.1.2

Thanks for your work. Nice job, but it can be improved a bit. Although some texts fit perfectly well, some get clipped (as Celdecea already said):

http://img230.imageshack.us/img230/6311/s053.th.pnghttp://img156.imageshack.us/img156/1905/s050.th.png
http://img155.imageshack.us/img155/4263/s047.th.pnghttp://img148.imageshack.us/img148/5499/s046.th.png
http://img17.imageshack.us/img17/1360/s054.th.pnghttp://img410.imageshack.us/img410/2465/s052.th.png

The ideal thing is that you build Open Sonic from the SVN. Small texts can be changed all the time, some new screens can be created, etc. - and all these changes usually require the language files to be updated as well. Also, it's good to test the game to see if texts don't get too large/clipped, etc. Of course we can provide you the executable files of the latest SVN if you want them, but that is not the ideal thing.

If you fix these small issues, the next release (0.1.2) may include your Spanish package. smile

Also, currently Open Sonic doesn't support special characters like á à ã é õ ó â ê ô ç ñ ! i  (and many others) because these characters are not available in the images/gui.png file:

http://img208.imageshack.us/img208/401/fontn.png

but this can be fixed creating new 8x8 characters. smile

Re: Spanish Lang v0.1.2

Now i'm downloading Visual C++ 2008 Express Edition to compile the game, i'm reading celdecea's post's to make it... if i can't do this i tell you latter.

Re: Spanish Lang v0.1.2

I tried to do the same thing with french language, so I modified the gui.png to http://omploader.org/vMWZ0aw and I modified the line 74 of font.c to:
        " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_´abcdefghijklmnopqrstuvwxyz{|}~\200\201\202éèaà"
(a char is wrong, yes, but that was only for testing) and I added ' 99 100 101 102' at the end of the line 2607 of config/sprite.def but it still doesn't work. Any idea ?
EDIT: mmmh, all the a (of this font) are changed to à....

Last edited by artart78 (2009-03-26 17:07:23)

Re: Spanish Lang v0.1.2

I'm working to make Open Sonic support special characters like é à ç ú ó ê, etc. Hopefully, this feature will be done in the next SVN revision.

EDIT: as of SVN revision 19, Open Sonic supports accented characters. smile

http://img410.imageshack.us/img410/4861/s057.png
http://img403.imageshack.us/img403/2816/s058.png

Hey Lainz, have you been able to compile the game from the SVN repository? Now that we have accented characters, it's much better to write the Spanish script.

I tried to do the same thing with french language, so I modified the gui.png to http://omploader.org/vMWZ0aw and I modified the line 74 of font.c to:
        " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_´abcdefghijklmnopqrstuvwxyz{|}~\200\201\202éèaà"
(a char is wrong, yes, but that was only for testing) and I added ' 99 100 101 102' at the end of the line 2607 of config/sprite.def but it still doesn't work. Any idea ?
EDIT: mmmh, all the a (of this font) are changed to à....

A french script would be awesome too. smile

Last edited by Alexandre (2009-03-27 03:02:25)

Re: Spanish Lang v0.1.2

Hm, it doesn't work.. I think it's an encoding problem because of the text written (something like 'À ' and it should be 'ç'). I use UTF-8. What encoding do you use ?

Re: Spanish Lang v0.1.2

artart78 wrote:

Hm, it doesn't work.. I think it's an encoding problem because of the text written (something like 'À ' and it should be 'ç'). I use UTF-8. What encoding do you use ?

Use ISO-8859-1 instead. UTF-8 won't work.

Last edited by Alexandre (2009-03-31 17:07:31)

Re: Spanish Lang v0.1.2

I finished with the good encoding: http://omploader.org/vMWcydQ
Enjoy! wink

Re: Spanish Lang v0.1.2

Very nice, artart78. The French package works very well. smile

We need people who want to join the project team by translating the game to other languages. As Open Sonic is constantly evolving, new screens & levels will continue to be developed. The language files ( .lng ) will constantly grow up in size. We need people who can write and maintain the .lng files.

Currently the following languages are confirmed for Open Sonic 0.1.2:
- English
- Portuguese

If artart78, Lainz or anybody else is interested in joining the project as translators, please contact me. The language files must be written and maintained. The .lng file already changed from the previous SVN revision.

We also need graphic artists, but that's another discussion wink

Re: Spanish Lang v0.1.2

I can't compile (realy hard for my) - i'm not a programmer wink - but i think i can make the translation limiting the number of characters used (use the same or similar - not more - than the english.lng file) to make it compatible. The spanish is a rich language so i can do this with no-complications.

Now i'm downloading VIM and translating the game, when i finish you can test it.

And Thankyou for the accented characters, realy in spanish the significiant don't change with or withouth this characters but is an error of writing not include them.

Edit:

A tiny addition to the lang > the "ñ" for "Español" language (spanish), but in this first translation i write the lang name "spanish".

Edit:

The new spanish translation 0.1.2 http://www.mediafire.com/?mtgexjzoc2n

-- the other theme --
i have some e-mails of people of my forum (and some are registered here) to contribute on gfx, i send a private messages now.. roll i don't know if realy can do some graphics but i send the message. wink

Last edited by lainz (2009-04-01 03:03:45)