Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Gord10 on Sun 28/03/2004 11:01:28

Title: Having problem with translation (SOLVED)
Post by: Gord10 on Sun 28/03/2004 11:01:28
I can't translate my game! The "tra" file is:

AGSTranslation       ˜>   are©‰Ã Â?káç‡Â¶Ã'¢á£µ?°êàŸ˜a   
      A   Aÿÿÿÿ   

and it gives the error:

"The selected translation file was empty. The translation source may have been translated incorrectly or you may have generated a blank file."

But I'm sure that I've translated just the dialog and interface texts. Please help me!
Title: Re:Having problem with translation
Post by: Pumaman on Sun 28/03/2004 18:01:13
What does your translation source file look like? You did insert the translated lines below the corresponding English line, and not replace the original line, right?
Title: Re:Having problem with translation
Post by: Gord10 on Mon 29/03/2004 11:14:32
Yes! I've already solved the problem since yesterday, while thinking about it; but couldn't tell it here, because I hadn't a change to connect.
Thanks, though :)
(Damn, how couldn't I understand that I should type the translation text below the original text before starting a new topic? Ashamed :-[  )
Title: Re: Having problem with translation
Post by: buloght on Sun 03/09/2006 13:07:55
I've got the same problem I think.

"The translation has been generated but there do not appear to be translated lines in it. The current translation will have no effect."

I did enter the lines below each line without level open lines. I followed the manual instructions. I'm not sure what can be wrong? Could someone with knowledge maybe suggest things haha? Or could I e-mail my text file to someone?

It contains characters like ěÅ¡čřžýáí

Any help? I use version 2.7

-------------------------------------
Here is the first part:
------------------------------------

// AGS TRANSLATION SOURCE FILE
// Format is alternating lines with original game text and replacement
// text. If you don't want to translate a line, just leave the following
// line blank. Lines starting with '//' are comments - DO NOT translate
// them. Special characters such as [ and %s symbolise things within the
// game, so should be left in an appropriate place in the message.
//
// ** Translation settings are below
// ** Leave them as "DEFAULT" to use the game settings
// The normal font to use - DEFAULT or font number
//#NormalFont=DEFAULT
// The speech font to use - DEFAULT or font number
//#SpeechFont=DEFAULT
// Text direction - DEFAULT, LEFT or RIGHT
//#TextDirection=DEFAULT
// 
// **** GLOBAL MESSAGES ARE BELOW ****
Sorry, not now.
Promin, ted ne.
Restore
Prehrat
Cancel
Zrusit
Select a game to restore:
Zvolte hru k prehrani:
Save
Ulozit
Type a name to save as:
Zadejte jmeno pozice:
Replace
Prehrat
The save directory is full. You must replace an existing game:
Adresar ulozenych pozic je plny.Musite prehrat nekterou ulozenou pozici:
Replace:
Nahradit:
With:
cim:
Quit
Konec
Play
Navrat do hry
Are you sure you want to quit?
Opravdu chcete skoncit?
You are carrying nothing.
Nic neneses.
Talking to yourself is a sign of madness!
Samomluva je znakem silenstvi!
You rub your hands up and down your clothes.
Promni si ruce a sundej kalhoty!
Damn, I'm looking good!
Sakra, ja vypadam dobre!
// **** DIALOG OPTIONS ARE BELOW ****
// **** CONVERSATION MESSAGES ARE BELOW ****
// **** ROOM1.crm (Castle) MESSAGES ARE BELOW ****
Ah, it is morning! The king has a most important quest for me.
Aaaah, nadchazi jitro. Muj kral me chce poverit dulezitym ukolem.
Let us be off then.
Bylo by blahove otalet.
It seems the door is stuck again from the outside. I hate it when that happens.
Co to?! Zda se ze dvere jsou zamcene zvenku. Zase. Nesnasim, kdyz se to stane.
I'll have to wake my squire.
Mel bych vzbudit panose.

....
....
Title: Re: Having problem with translation
Post by: Pumaman on Tue 05/09/2006 23:02:14
That file looks ok -- if you could upload it and post the URL perhaps we can find a problem.

For example, it's possible that the file has unix-style rather than DOS-style carriage returns, so AGS thinks the whole file is one line.
Title: Re: Having problem with translation
Post by: buloght on Wed 06/09/2006 00:42:16
Thanks pumaman. It seems to work now, it was saved as unicode.
Title: Re: Having problem with translation (SOLVED)
Post by: Gord10 on Wed 06/09/2006 09:35:15
[offtopic]

Quote from: Gord10 on Sun 28/03/2004 11:01:28
I can't translate my game!
But I'm sure that I've translated just the dialog and interface texts. Please help me!

I still don't want to believe I have written something such lame.  :-[ How lamer I was...

[/offtopic]