Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Volcan on Sat 28/06/2003 14:36:09

Title: Translating problem
Post by: Volcan on Sat 28/06/2003 14:36:09
I got this message when I'm play a game translated.

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

Here my code in french translation. I just add a french
line.

Quote
// 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.
// **** GLOBAL MESSAGES ARE BELOW ****
Sorry, not now. Desole.
Pas maintenant.
Restore

Cancel

Select a game to restore:

Save

Type a name to save as:

Replace

The save directory is full. You must replace an existing game:

Replace:

With:

Quit

Play

Are you sure you want to quit?

You are carrying nothing.

Talking to yourself is a sign of madness!

You rub your hands up and down your clothes.

Damn, I'm looking good!

// **** DIALOG OPTIONS ARE BELOW ****
// **** CONVERSATION MESSAGES ARE BELOW ****
// **** room1.crm ((No description)) MESSAGES ARE BELOW ****
// **** HOTSPOT AND OBJECT NAMES. THESE ONLY NEED TO BE TRANSLATED ****
// **** IF YOU ARE USING A LUCASARTS-STYLE STATUS LINE.            ****
No hotspot

Hotspot 1

Hotspot 2

Hotspot 3

Hotspot 4

Hotspot 5

Hotspot 6

Hotspot 7

Hotspot 8

Hotspot 9

Hotspot 10

Hotspot 11

Hotspot 12

Hotspot 13

Hotspot 14

Hotspot 15

Hotspot 16

Hotspot 17

Hotspot 18

Hotspot 19

// **** STRINGS FROM THE GLOBAL SCRIPT ARE BELOW ****
scrnshot.bmp

Adventure Game Studio v2 run-time engine[[Copyright (c) 1999-2003 Chris Jones

// **** GUI LABELS AND BUTTONS ARE BELOW ****
// **** CHARACTER NAMES ARE BELOW ****
ROGER

// **** INVENTORY ITEM NAMES ARE BELOW ****
Key

Pink poster

!!!EOF *** DO NOT REMOVE THIS LINE ***


So what's wrong?


Volcan
Title: Re:Translating problem
Post by: evilspacefart on Sun 29/06/2003 18:23:44
you need to place a blank line before the translation.
Title: Re:Translating problem
Post by: on Sun 29/06/2003 18:36:24
No, he has made a different mistake:
Quote// **** GLOBAL MESSAGES ARE BELOW ****
Sorry, not now. Desole.
Pas maintenant.
Restore

It should be:
// **** GLOBAL MESSAGES ARE BELOW ****
Sorry, not now.
Désolé. Pas maintenant.
Restore


You have to leave the original line as it is. AGS didn't recognise its "Sorry, not now." line because of your "Désolé." (Note the accents  ;))
Title: Re:Translating problem
Post by: Volcan on Sun 29/06/2003 22:39:08
Thanks ThunderStorm

I'll try it.


Volcan