Actor name localization inquiry

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Actor name localization inquiry

Post by minomod »

1. Added en and kr in the template.
2. I loaded a template from Actors
3. When the game is executed, only A is output.

Since my PC is KR, "C" should be output.
Attachments
2.png
2.png (142.74 KiB) Viewed 919 times
1.png
1.png (84.33 KiB) Viewed 919 times
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: Actor name localization inquiry

Post by Tony Li »

Hi,

Try this:

1. Tick Use Display Name.

2. Add fields "Display Name en" and "Display Name kr".

3. If you're using an Override Actor Name component on your character's GameObject, tick Use Localized Name In Database. If you're not using Override Actor Name, you can skip this step.
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: Actor name localization inquiry

Post by minomod »

1. I changed it and it is still output as James English name.
2. Override Actor Name is not used. I do not know how to use it.
Attachments
3.png
3.png (187.79 KiB) Viewed 892 times
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: Actor name localization inquiry

Post by Tony Li »

Hi,

Since your GameObject names are different from the actor names, use Override Actor Name components. Here is an example scene:

LocalizedNameExample_2018-02-03.unitypackage

This is how I set up the player:

Image

And this is how I set up the NPC:

Image
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: Actor name localization inquiry

Post by minomod »

Thank you very much ~
Can I get additional country codes?
kr -> ko That 's right.
en, es...
Attachments
5.png
5.png (9.86 KiB) Viewed 885 times
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: Actor name localization inquiry

Post by Tony Li »

You can use any codes you want. Some people use names: "English", "Korean", "Spanish", etc.

I prefer shorter codes from Microsoft's Language Codes list or the ISO 639 list: "en", "ko", "es", etc.
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: Actor name localization inquiry

Post by minomod »

Thank you very much ~
Post Reply