Author Topic: Translation issues  (Read 1996 times)

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Translation issues
« on: 3 April 2012, 10:56:16 »
I have just started on a translation for Scots Gaelic, and I decided to start with Glest_3.2.2 before I do the branches. Some of these issues will affect both branches, so I'm posting it here.

  • *resolved*
  • Assembled strings - can word order be made flexible, using %s, %d etc? For example, Initiate reqs
  • UpgradeSpeed, ProductionSpeed, OrdersOnQueue etc - Can you switch off auto caps? They look really weird in Gaelic
  • Gaelic repeats the verb in order to say yes/no. I have a conflict I can't resolve (ETA: see also my post below with the screen caps):

    Options -> Textures3D:
    Yes/no, should be on/off = Air/Dheth

    ExitGame?=Am bu toil leat an geama fhàgail?
    Yes/no =  Bu toil/Cha bu toil

    *resolved in GAE and MegaGlest* - strings removed
  • Also, can a line break be added before ExitGame?
    My string is too long and I can't make it shorter. A new line would give me more space.

    *partially resolved in GAE* - automatic line break, but window title still a bit too long
« Last Edit: 4 April 2012, 14:23:51 by GunChleoc »

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Translation issues
« Reply #1 on: 3 April 2012, 14:06:19 »
5. Also, can a line break be added before ExitGame?
My string is too long and I can't make it shorter. A new line would give me more space.
Use \n.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Re: Translation issues
« Reply #2 on: 4 April 2012, 09:09:11 »
Thanks! I tried that, but it just prints "\n" to the screen instead of creating a new line except for Megaglest. Here is what ExitGame? looks like with the different engines:

[big]Glest 3.2.2:[/big]



[big]GAE:[/big]



Automatically breaks the line, problem solved. Window title still too long though.

[big]MegaGlest:[/big]



Here the line break is working, but the string is also used on the button. IMHO the best thing would be an additional string, something like:

Code: [Select]
; text field
ExitGame?=Exit game?
; button
ExitGame=Leave game

And here's some screenshots of my yes/no problem in the Options menu:

[big]Glest 3.2.2:[/big]



It should read air/dheth (on/off)

[big]GAE:[/big]

String isn't used, just a tick box. Problem solved.

[big]MegaGlest:[/big]

String isn't used, just a tick box. Problem solved.
« Last Edit: 4 April 2012, 14:25:26 by GunChleoc »

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Translation issues
« Reply #3 on: 4 April 2012, 14:04:24 »
First of all, don't even bother with Glest 3.2.2, it's pretty much unused any anyone who comes here to get mods and translations usually would encounter MegaGlest or GAE in the process.

Sadly, the overlapping of text isn't something easily fixable. Is it not possible to rephrase or event shorten the text to make it fit (eg, state simply "Exit")?
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Re: Translation issues
« Reply #4 on: 5 April 2012, 10:04:45 »
Thanks for your reply!

I think we will just have to live with the overlap in the old Glest. The problem with Gaelic is one of the right meaning. If I just say "Am fàg thu an geama?", I'm strongly suggesting that you should leave the game instead of giving you a free option.

I think having two strings - one for the text field and one for titles - would be the best option for the future. The same sort of problem might come up in other languages in the future. And I think a question mark in a menu header looks weird in English anyway ;)