languageCode for dialoguesystem.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Yob
Posts: 21
Joined: Sun Aug 06, 2017 11:30 am

languageCode for dialoguesystem.

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

Re: languageCode for dialoguesystem.

Post 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.
Post Reply