translation does not work[SOLVED]

Started by spook1, Thu 06/04/2006 14:01:36

Previous topic - Next topic

spook1

For my game I created a translation file (.tra). Copied it into the compiled directory, and in the game editor I choose Setup.
There I pointed to the translation file, but the game is still in dutch.

next to that I cannot find a winsetup.exe file, for the user to setup the language as it used to be before.

any suggestions??

Saberteeth

Yes well, did you translate like this:

Ich bin ein Schwein
I am a swine

or did you delete the upper one and instead just wrote english over it. If you did what I just said, then do the upper thing.

Khris

Right, the reason is that AGS uses the original line if the next one's blank.

The translation source should look like this:

-----------------------
dutch1

dutch2

-----------------------

and you have to write the translated lines in the blank lines:

-----------------------
dutch1
english translation 1
dutch2
english translation 2
-----------------------

spook1

Indeed, that is exactly what I did.

I translated games before ;-)
But then I could choose for a translation in winsetup.exe, which is not existing anymore,

Therefore I select the translation in the File -> Setup Game menu and then choose for save and run.

P.S. I may have changed a few characters in the original lines, due to typing errors, would that harm the whole process?

Khris

Try to run winsetup in the compiled folder.
If you can't select the translation there, make sure that the translation file even exists.

And I wouldn't change the original lines, rather change the ingame-text and choose "update translation source".
(And don't start translating until the game texts are final.)

spook1

I did as you said.
Updated translation,
.tras file does really exist and is in compiled folder.

Only thing is that I do not have a winsetup.exe!
It is not here, copying in from another game does not work

yet, I can select the translation file in the setup menu in: file -> setup

Strange, isn't it?

Ashen

Have you tried deleting the compiled folder, and re-saving the game (making a new Compiled folder, hopefully with winsetup.exe)? Don't forget to copy the translation file somewhere safe first, if you're going to try this.

If that doesn't work, you shoud be able to create a .bat file to run the setup program - all winsetup.exe actually does is run the game exe with the --setup parameter. So if you make a .bat file (just make a text file and change the extention) with:
Code: ags

YourGameNameHere.exe --setup

Running that should give the setup window.
I know what you're thinking ... Don't think that.

spook1

#7
Thanks for helping.
The bat file works fine; it is strange though that my AGS v2.72 beta does not create a winsetup file, isn't it?

[EDIT]
I found that I am using a beta release 2.72 beta. In installing this beta I the file setup.dat was not included.
I copied it from 2.71 release now, and the winsetup.exe is now included.

[/EDIT]

But... still the translation does not workÃ,  :(

Am I missing an "allow translations" tag or something?
I cannot figure out what I can be doing wrong.

Can I test my translation file in some way??

[EDIT]
I renamed my translation file, and did a new export.
I compared the line numbers of the new and old translion text file.
The line numbers of the original text (dutch) are identical in both files.
So that proves that I have correctly typed the translions "between the lines".
[/EDIT]

[EDIT]
Translation works partially now. The beginning with typewriter strings is not translated, but that is no real problem. The Typeline function is naturally not translated.
[/EDIT]

SMF spam blocked by CleanTalk