Localization and Custom Keys
Posted: Fri Jun 21, 2019 6:41 pm
Hi.
I'm using Quest Machine to handle quests in my game, but I'm having problems to change the language or at least I don't know how. I've two language in my text tables and I'm using the following code to handle the language:
I'm sure the m_currLanguage is using a valid string.
Obs: I'm using the DialogueManager as well and it's not changing the language as well.
Another thing is that I need to create some custom keys to use inside the Quest Log, like build names or characters, from my other systems. How can I create it? I couldn't find anything in the manual.
Thanks
I'm using Quest Machine to handle quests in my game, but I'm having problems to change the language or at least I don't know how. I've two language in my text tables and I'm using the following code to handle the language:
Code: Select all
PixelCrushers.DialogueSystem.Localization.language = this.m_currLanguage;
PixelCrushers.DialogueSystem.DialogueManager.SetLanguage(this.m_currLanguage);
Obs: I'm using the DialogueManager as well and it's not changing the language as well.
Another thing is that I need to create some custom keys to use inside the Quest Log, like build names or characters, from my other systems. How can I create it? I couldn't find anything in the manual.
Thanks