Strange issue with translation

Started by rmonic79, Sun 18/06/2017 22:44:03

Previous topic - Next topic

rmonic79

Guys i made a lot of work with chronicle of innsmouth to prepare it before for dubbing. i made english the main language to make it easier to translate.
i have this line of dialogues where a character change name  two different times. but on the first line it doesn't get translated stuff, instead the second line works fine. i've checked the trs and it is all ok, to make sure that is not it i added two spaces at the end of string, updated the trs  and writed translation under the new line at the end of file and it continue to not work. Help please

Code: ags

Ego: &100 He is too busy staring at that train.
Ego: &113 Or maybe he's just awfully rude, one or the other.
      cUvaligia.Name = "awfully rude guy and/or attracted by train guy  "; //FIRST LINE
      enableguipersonal();
stop


@2
Ego: &113 Or maybe he's just awfully rude, one or the other.
 enableguipersonal();
stop


@3
option-on 4
option-on 5
option-on 6
option-off-forever 3
Uvaligia: &2 Yes, the next one arrives in forty-six minutes.
      cUvaligia.Name = "definitely attracted by train guy"; //SECOND LINE
option-on 19      
return

Crimson Wizard

#1
I am not certain if setting Name will automatically translate it. Try using GetTranslation().

Code: ags

cUvaligia.Name = GetTranslation("awfully rude guy and/or attracted by train guy");

rmonic79

yes i'll try in a bit. The strange thing is that in ItalianMain/english version works fine and also on the second line of the code above works fine and behave in same way.

rmonic79

if i use gettranslation works but if i change back to english it's italian yet.

SMF spam blocked by CleanTalk