Localise Override fields in Usable

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
sylwestroni
Posts: 3
Joined: Mon Nov 20, 2023 12:33 pm

Localise Override fields in Usable

Post 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.
User avatar
Tony Li
Posts: 21679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Localise Override fields in Usable

Post 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.
User avatar
sylwestroni
Posts: 3
Joined: Mon Nov 20, 2023 12:33 pm

Re: Localise Override fields in Usable

Post by sylwestroni »

Hi,

Yes, that was it :) Thank you very much, great dialogue system!
User avatar
Tony Li
Posts: 21679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Localise Override fields in Usable

Post by Tony Li »

Glad to help!
Post Reply