Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Rocco on February 21, 2007, 05:23:59 PM

Title: translation problem
Post by: Rocco on February 21, 2007, 05:23:59 PM
the translation dont works in this command

game_daemon.script
WinCaption.Text = "/STANDARD0011/ Verwende " + Item.Caption + "/STANDARD0012/  mit " + ActObj.Caption;ยด

is this a special case?
Title: Re: translation problem
Post by: Mac on February 21, 2007, 06:16:32 PM
Hi Rocco,

try this:
WinCaption.Text = Game.ExpandString("/STANDARD0011/ Verwende ") + Item.Caption + Game.ExpandString("/STANDARD0012/  mit ") + ActObj.Caption;

The automatic translation doesn't work with simple 'selfmade' strings.

Mac
Title: Re: translation problem
Post by: Rocco on February 21, 2007, 08:36:06 PM
big thx, mac.   ;D
this was the last step, and now its finished -> http://forum.dead-code.org/index.php?topic=1955.0
the international version of the Mystic Triddle Demo