Page 1 of 1

Localise Override fields in Usable

Posted: Mon Nov 20, 2023 12:38 pm
by sylwestroni
Hi, is there some nice and easy way to localise these two fields in "Usable":

- Override Name
- Override Use Message

Image

I can't find a proper way to do it in documentation, or there is something I missed. I localised basically everything (dialogues, actor names, etc.), but I can't find a way to translate this two fields.

Re: Localise Override fields in Usable

Posted: Mon Nov 20, 2023 2:47 pm
by Tony Li
Hi,

Assign a text table asset to the Dialogue Manager GameObject's Display Settings > Localization Settings > Text Table.

If the Override Name's text or Override Use Message's text is a field in the text table, it will use the localized value of that field.

Side note: You can also include [var=variable]and [lua(code)] markup tags in Override Name and Override Use Message.

Re: Localise Override fields in Usable

Posted: Thu Nov 23, 2023 7:55 am
by sylwestroni
Hi,

Yes, that was it :) Thank you very much, great dialogue system!

Re: Localise Override fields in Usable

Posted: Thu Nov 23, 2023 9:16 am
by Tony Li
Glad to help!