Open Surge Forum

A fun 2D retro platformer inspired by Sonic games and a game creation system

You are not logged in.

Announcement

Our community has moved to Discord! https://discord.gg/w8JqM7m

#1 2009-03-21 19:33:19

lainz
Member
Registered: 2009-02-18
Posts: 202

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)

Offline

#2 2009-03-22 00:04:09

Celdecea
Member
From: Southern Oregon
Registered: 2009-02-23
Posts: 147

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)

Offline

#3 2009-03-22 00:45:21

lainz
Member
Registered: 2009-02-18
Posts: 202

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)

Offline

#4 2009-03-22 13:44:39

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,300
Website

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):

s053.th.pngs050.th.png
s047.th.pngs046.th.png
s054.th.pngs052.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:

fontn.png

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

Offline

#5 2009-03-22 19:04:22

lainz
Member
Registered: 2009-02-18
Posts: 202

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.

Offline

#6 2009-03-26 16:48:46

artart78
Member
Registered: 2009-02-08
Posts: 4

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)

Offline

#7 2009-03-26 21:52:38

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,300
Website

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

s057.png
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)

Offline

#8 2009-03-27 17:46:50

artart78
Member
Registered: 2009-02-08
Posts: 4

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 ?

Offline

#9 2009-03-27 22:23:16

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,300
Website

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)

Offline

#10 2009-03-28 11:51:37

artart78
Member
Registered: 2009-02-08
Posts: 4

Re: Spanish Lang v0.1.2

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

Offline

#11 2009-03-31 17:06:26

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,300
Website

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

Offline

#12 2009-04-01 02:02:39

lainz
Member
Registered: 2009-02-18
Posts: 202

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)

Offline

Board footer

Powered by FluxBB  hosted by tuxfamily.org