passing two sentences in the same Dialogue Text
Posted: Thu Nov 02, 2017 8:32 am
Hi Tony!
I'm having a little issue with the japanese version of the game, as you know in the game we have 4 boys and a girl and some lines are shared between them, but in the japanese version we have a problem and need to split the shared lines in a boys' version and girls' version.
I thought a solution for the asians languages but i have an issue.
The translators use an excel to make the translation, so I added two new columns, one to boys version and another one to the girl version.
Then I made a custom csv export in Google Spreedsheet to merge this to new column in a text like "[lua(_genre("boy text", "girl text"))]". (_genre just check if it is the boy or the girl whose is speaking and return the correct line)
THE PROBLEM
The problem is that this two lines can have color tag (em) and icon tags (<quad class="name">) for now I dont found any issue with the color tag but with the icon the lua raise an exception of syntax error, is look like that the lua parse the icon and try to read the image
In the follow image you can see an example
the original line was:
[lua( _genre("texto si' "soy", <quad class="chris_living"> [em1]chico[/em1]","texto si soy chica <quad class="charlie_living">") )]
Any option just to the lua read the raw text with out parsing to image?
Thanks a lot
I'm having a little issue with the japanese version of the game, as you know in the game we have 4 boys and a girl and some lines are shared between them, but in the japanese version we have a problem and need to split the shared lines in a boys' version and girls' version.
I thought a solution for the asians languages but i have an issue.
The translators use an excel to make the translation, so I added two new columns, one to boys version and another one to the girl version.
Then I made a custom csv export in Google Spreedsheet to merge this to new column in a text like "[lua(_genre("boy text", "girl text"))]". (_genre just check if it is the boy or the girl whose is speaking and return the correct line)
THE PROBLEM
The problem is that this two lines can have color tag (em) and icon tags (<quad class="name">) for now I dont found any issue with the color tag but with the icon the lua raise an exception of syntax error, is look like that the lua parse the icon and try to read the image
In the follow image you can see an example
the original line was:
[lua( _genre("texto si' "soy", <quad class="chris_living"> [em1]chico[/em1]","texto si soy chica <quad class="charlie_living">") )]
Any option just to the lua read the raw text with out parsing to image?
Thanks a lot