Page 1 of 1

How to translate responses in game

Posted: Tue Jun 10, 2025 10:34 am
by AndreasJosephides
Hi,

I have a problem where my responses cannot be translated.

When i change the language (by pressing a button in my UI) i run the method:

Code: Select all

DialogueManager.SetLanguage(language);
This only translates the Subtitle UI and not the responses unfortunately. What i want is to be able to translate the responses in Greek. I will try to provide some images for my setup.

I did some research in this forum, i have tried some code i found but nothing worked so far. I was able to access the responses at runtime (and their text property) but i could not find a way to link each response to the correct corresponding translated text to assign it.


I was wondering if there is a straight forward solution to my issue.

Thank you in advance!

Re: How to translate responses in game

Posted: Tue Jun 10, 2025 11:16 am
by Tony Li
Hi,

Add a field named "Menu Text gr". Example:

localizedMenuText.png
localizedMenuText.png (31.49 KiB) Viewed 489 times

Re: How to translate responses in game

Posted: Tue Jun 10, 2025 11:43 am
by AndreasJosephides
Hi Tony,

Thank you so much for your prompt and helpful response!

I truly appreciate how quickly you jumped in to assist. Your dedication and support make using the Dialogue System asset even more enjoyable!

Wishing you all the best!

Re: How to translate responses in game

Posted: Tue Jun 10, 2025 2:17 pm
by Tony Li
Glad to help!