Page 1 of 1

languageCode for dialoguesystem.

Posted: Fri Jan 05, 2018 12:43 pm
by Yob
hello :)

your marvelous asset helps me making a game so much.

i have a question. when i was looking at documentation, i saw languageCode is same with microsoft's cultureinfo class.
well, link in your documentation doesn't work for me, and... i don't know where to look at language code.
i am so not programmer,,, localization part is important to me, so can you let me know dialogue system's language code? or just links where i can see would be great !
sorry to bother you!
and Happy New Year!

Re: languageCode for dialoguesystem.

Posted: Fri Jan 05, 2018 1:41 pm
by Tony Li
Hi,

Language codes can be anything, but Microsoft's CultureInfo is a good choice because it's fairly standard. Here's another list of language codes: Language Codes.

You can also use plain text if you prefer, like: English, Français, Español, etc.

Let's say you use plain text. In your dialogue entries, add a custom field for each language. Set the Type to Localization. Example:

Image

You can add these fields to the dialogue entry template on the Templates tab so you don't have to add them individually to every dialogue entry. Then select Menu > Apply Template To Assets.

To set the language, on the Dialogue Manager set Localization Settings > Language.

Image

More info: Localization.