Exporting Bark Text for localization

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
PaulG
Posts: 7
Joined: Thu Aug 19, 2021 2:33 pm

Exporting Bark Text for localization

Post by PaulG »

Hi there,

I am using the Actions to Play a Bark and directly entering the text in the text field. How can I get this exported for localisation?

Thanks,

Paul.
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Exporting Bark Text for localization

Post by Tony Li »

Hi Paul,

If you're hard-coding text in your Dialogue System Trigger's Actions > Bark, it's not as easy to localize, but it's still possible. Add that same text into a text table. Then localize the text table. Finally, assign the text table to the Dialogue Manager's Display Settings > Localization Settings > Text Table field.

The Bark action will check if its text has an entry in the text table. If so, it will use the localized version that's in the text table. Otherwise it will bark the text as-is.
PaulG
Posts: 7
Joined: Thu Aug 19, 2021 2:33 pm

Re: Exporting Bark Text for localization

Post by PaulG »

Thanks Tony!

Paul
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: Exporting Bark Text for localization

Post by Tony Li »

Glad to help!
Post Reply