Author Topic: Thai translation  (Read 4410 times)

0 Members and 1 Guest are viewing this topic.

Offline Combuijs

  • Web Team
  • Devotee
  • *
  • Posts: 1383
  • Total likes: 22
  • Helpful: 53
  • Maintainer of maps.simutrans.com
    • Combuijs
  • Languages: EN, NL
Thai translation
« on: March 26, 2013, 08:54:57 PM »
I got a personal message from sirpong. He wants to translate Simutrans into Thai. Now I can see some problems with that, because Thai uses a different character set than all other translations we have. How can he proceed with this?

Do we support those characters at the moment in Simutrans itself? If so, do we support those characters on the Simutranslator site? I could not answer those questions, maybe one of you can?

Bob Marley: No woman, no cry

Programmer: No user, no bugs



Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8685
  • Total likes: 294
  • Helpful: 228
  • Languages: De,EN,JP
Re: Thai translation
« Reply #1 on: March 26, 2013, 09:58:36 PM »
Simutranslator supports UTF8, thus thai is not a problem. We do not have a nice thai font, although the chines font is relatively complete. I have to check what range is thai.

Offline Combuijs

  • Web Team
  • Devotee
  • *
  • Posts: 1383
  • Total likes: 22
  • Helpful: 53
  • Maintainer of maps.simutrans.com
    • Combuijs
  • Languages: EN, NL
Re: Thai translation
« Reply #2 on: April 08, 2013, 08:09:31 PM »
Any news on this? I got a very enthousiastic translator waiting...

Quote
how's the discussion about the Thai translation.
you've got some answer from the development team?

I really want and need to translate the Simutrans game to Thai version. It will be great fun for Thai people I think :)
So man, if you get some answer from the devteam please reply this mail
Bob Marley: No woman, no cry

Programmer: No user, no bugs



sirpong

  • Guest
Re: Thai translation
« Reply #3 on: April 08, 2013, 08:36:54 PM »
Thank you Combuijs for helping :)

I know that the simutrans devteam is expert,  I think I can start translation soon :)


Thank you!


Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8685
  • Total likes: 294
  • Helpful: 228
  • Languages: De,EN,JP
Re: Thai translation
« Reply #4 on: April 08, 2013, 09:44:44 PM »
It seems we do not have a thai bdf font; however, thai is a single codepage. Thus there is hope that there are useful bdf fonts around.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2532
  • Total likes: 271
  • Helpful: 89
  • D'oh
    • by An_dz
  • Languages: PT, EN, (it, de)
Re: Thai translation
« Reply #5 on: April 08, 2013, 10:39:51 PM »
I found these in public domain:
ftp://linux.thai.net/pub/thailinux/software/thaixfonts

Not sure if they are complete.

Edit:
Can't Thai be already included in simutranslator as we search for a font?

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4142
  • Total likes: 137
  • Helpful: 147
  • Languages: EN, DE, AT
Re: Thai translation
« Reply #6 on: April 09, 2013, 06:24:46 AM »
Without font you would not be able to test it in-game :/

In fact, thai language has been added to translator already.
« Last Edit: April 09, 2013, 06:31:54 AM by Dwachs »
Parsley, sage, rosemary, and maggikraut.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8685
  • Total likes: 294
  • Helpful: 228
  • Languages: De,EN,JP
Re: Thai translation
« Reply #7 on: April 09, 2013, 09:17:52 PM »
The next nightly will contain a font with thai characters in cyr.bdf. Albeits they may be cut off or ugly, for all I know ...

Offline Combuijs

  • Web Team
  • Devotee
  • *
  • Posts: 1383
  • Total likes: 22
  • Helpful: 53
  • Maintainer of maps.simutrans.com
    • Combuijs
  • Languages: EN, NL
Re: Thai translation
« Reply #8 on: April 09, 2013, 09:35:24 PM »
I have reported it all to sarpong / MR.BK together with some tips how to get a translation account and where he can find the nightly.

Thanks to all involved!
Bob Marley: No woman, no cry

Programmer: No user, no bugs



Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4142
  • Total likes: 137
  • Helpful: 147
  • Languages: EN, DE, AT
Re: Thai translation
« Reply #9 on: April 10, 2013, 06:25:48 AM »
Created account for MRBK at translator site.

MRBK, please let us know in case something is not working.
Parsley, sage, rosemary, and maggikraut.

sirpong

  • Guest
Re: Thai translation
« Reply #10 on: April 10, 2013, 06:12:05 PM »
Hi all!

Please call me Pee :)

I think Thai will be big problem because some fonts can sometimes be under and/or over the other one. I've tried to change station names from English into Thai (BANGKOK) - กรุงเทพมหานคร, the result will be (กรุงเทพมหานคร) but the game displayed (กร ุงเทพมหานคร). Characters that should be under (ร) jump instead one step forward and stands as next. I can read it but it is not good enough. The player will be confused.

I think devteam can fix the problem.

thanks so much everyone for helping:)




PS 1. Google translate from SV to EN
PS 2. I can't login to simutranslator with MRBK :(


Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4142
  • Total likes: 137
  • Helpful: 147
  • Languages: EN, DE, AT
Re: Thai translation
« Reply #11 on: April 10, 2013, 06:23:34 PM »
Please try the win-SDL build. I could login with the data I sent you ???
Parsley, sage, rosemary, and maggikraut.

sirpong

  • Guest
Re: Thai translation
« Reply #12 on: April 10, 2013, 06:37:26 PM »
Please try the win-SDL build. I could login with the data I sent you ???

Not better  :-[

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4142
  • Total likes: 137
  • Helpful: 147
  • Languages: EN, DE, AT
Re: Thai translation
« Reply #13 on: April 10, 2013, 06:57:14 PM »
It looks like the problem is that these combined characters are stored as two individual characters in the text but are displayed as one combined character.
Parsley, sage, rosemary, and maggikraut.

sirpong

  • Guest
Re: Thai translation
« Reply #14 on: April 10, 2013, 07:07:26 PM »
Unreadable text!

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4142
  • Total likes: 137
  • Helpful: 147
  • Languages: EN, DE, AT
Re: Thai translation
« Reply #15 on: April 10, 2013, 07:18:06 PM »
Where do you got that th.tab file from?

Please use the online translator.

The display of Thai character can be fixed. It requires a lot of programming work: either switch text rendering to an external library or put in special treatment of Thai characters. The more text is translated to Thai the higher is the pressure on developers to fix text handling ;)
Parsley, sage, rosemary, and maggikraut.

Offline IgorEliezer

  • Devotee
  • Administrator
  • *
  • Posts: 3915
  • Total likes: 120
  • Helpful: 69
  • Minister of Silly Posts
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Re: Thai translation (programmers needed?)
« Reply #16 on: April 10, 2013, 07:56:57 PM »
The more text is translated to Thai the higher is the pressure on developers to fix text handling ;)

I think it's time to learn a new language. *trollface*

j/k

Other possibility would be a programmer outside the devteam volunteers to code a fix for it.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8685
  • Total likes: 294
  • Helpful: 228
  • Languages: De,EN,JP
Re: Thai translation
« Reply #17 on: April 11, 2013, 12:00:57 AM »
The problem with the characterssi that their width is set to zero. However, so far simutrans does not allow for zero width.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4142
  • Total likes: 137
  • Helpful: 147
  • Languages: EN, DE, AT
Re: Thai translation
« Reply #18 on: April 11, 2013, 07:48:45 AM »
The problem with the characterssi that their width is set to zero. However, so far simutrans does not allow for zero width.
No, the have positive width. The problem is more of the type to combine two characters to one, line a" -> ä
Parsley, sage, rosemary, and maggikraut.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8685
  • Total likes: 294
  • Helpful: 228
  • Languages: De,EN,JP
Re: Thai translation
« Reply #19 on: April 11, 2013, 02:53:04 PM »
With zero logical witdth and non-zero screen width, overlapping is easily achieved ...

Offline Frank

Re: Thai translation
« Reply #20 on: April 11, 2013, 08:08:07 PM »
I think is a dev problem not a translate problem

please move the topic to dev board

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8685
  • Total likes: 294
  • Helpful: 228
  • Languages: De,EN,JP
Re: Thai translation
« Reply #21 on: April 13, 2013, 08:36:15 PM »
The problem is the definition of the bdf font. As such, I think it would be better here. I.e. what width should be used for the acent letters.