MegaGlest Forum

Archives (read only) => Vanilla Glest => General discussion => Topic started by: GunChleoc on 3 April 2012, 10:56:16

Title: Translation issues
Post by: GunChleoc 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.

Title: Re: Translation issues
Post by: Omega 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.
Title: Re: Translation issues
Post by: GunChleoc 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]

(http://www.foramnagaidhlig.net/internal/exitgame_glest.png)

[big]GAE:[/big]

(http://www.foramnagaidhlig.net/internal/glestae-leavegame.png)

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

[big]MegaGlest:[/big]

(http://www.foramnagaidhlig.net/internal/exitgame_megaglest1.png) (http://www.foramnagaidhlig.net/internal/exitgame_megaglest2.png)

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]

(http://www.foramnagaidhlig.net/internal/yesno-glest.png)

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.
Title: Re: Translation issues
Post by: Omega 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")?
Title: Re: Translation issues
Post by: GunChleoc 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 ;)