Search found 29 matches

by wlchfl5359
Wed Aug 28, 2024 3:35 pm
Forum: Dialogue System for Unity
Topic: Can I use LocalizeUI's 'Field Name' for localize & update?
Replies: 3
Views: 253

Re: Can I use LocalizeUI's 'Field Name' for localize & update?

Oh, I'm using 2.2.39 now and I will update now. I set some text like this titletext.text = DialogueManager.GetLocalizedText(_data.taskName) and use it for character name or something else. Field name is default text. Then I change languages, it doesn't change because text is now localizedText. field...
by wlchfl5359
Wed Aug 28, 2024 2:35 pm
Forum: Dialogue System for Unity
Topic: Can I use LocalizeUI's 'Field Name' for localize & update?
Replies: 3
Views: 253

Can I use LocalizeUI's 'Field Name' for localize & update?

Hi, I was changing text like titletext.text = DialogueManager.GetLocalizedText(_data.taskName); But I figured out it doesn't change language when I use DialogueManager.SetLanguage("english"); So I had to use this method "titletext.text = DialogueManager.GetLocalizedText(_data.taskName...
by wlchfl5359
Thu Feb 23, 2023 12:47 am
Forum: Dialogue System for Unity
Topic: How Can I Refresh UI Language After Change Language?
Replies: 25
Views: 35904

Re: How Can I Refresh UI Language After Change Language?

Thank you.
Please tell me if there is a problem. :)
by wlchfl5359
Wed Feb 22, 2023 11:46 am
Forum: Dialogue System for Unity
Topic: How Can I Refresh UI Language After Change Language?
Replies: 25
Views: 35904

Re: How Can I Refresh UI Language After Change Language?

I found a problem. I was looking at code public void UpdateUIs(string language) { m_currentLanguage = language; if (saveLanguageInPlayerPrefs) { if (!string.IsNullOrEmpty(currentLanguagePlayerPrefsKey)) { PlayerPrefs.SetString(currentLanguagePlayerPrefsKey, language); } } var localizeUIs = m_alsoUpd...
by wlchfl5359
Wed Feb 22, 2023 11:09 am
Forum: Dialogue System for Unity
Topic: How Can I Refresh UI Language After Change Language?
Replies: 25
Views: 35904

Re: How Can I Refresh UI Language After Change Language?

I just tried with new canvas and I added 'UI Localization Manager.cs' and it works!

I think I have a problem with my Dialogue Manager. I have only 1 UILocalizationmanager.cs but it doesn't work.
by wlchfl5359
Wed Feb 22, 2023 10:10 am
Forum: Dialogue System for Unity
Topic: How Can I Refresh UI Language After Change Language?
Replies: 25
Views: 35904

Re: How Can I Refresh UI Language After Change Language?

I use only this code DialogueManager.SetLanguage("english");
do i have to change something in dialogue system controller or somewhere?
by wlchfl5359
Wed Feb 22, 2023 9:41 am
Forum: Dialogue System for Unity
Topic: How Can I Refresh UI Language After Change Language?
Replies: 25
Views: 35904

Re: How Can I Refresh UI Language After Change Language?

Thank you for reply.
But it is weird. I just updated to the current version and it is still same.
I have a Localize UI component and TextMeshPro - Text(UI) in text object and it changes language only when i deactive and active object..
by wlchfl5359
Wed Feb 22, 2023 7:53 am
Forum: Dialogue System for Unity
Topic: How Can I Refresh UI Language After Change Language?
Replies: 25
Views: 35904

Re: How Can I Refresh UI Language After Change Language?

No, I'm using 2.2.25.1
Is not working in this version??
by wlchfl5359
Fri Feb 17, 2023 10:32 am
Forum: Dialogue System for Unity
Topic: How Can I Refresh UI Language After Change Language?
Replies: 25
Views: 35904

Re: How Can I Refresh UI Language After Change Language?

Thank you for reply.
I update using DialogueManager.SetLanguage("english");

But UI shows past language...

It changes when I deactive gameobject and active it again.
by wlchfl5359
Fri Feb 17, 2023 6:45 am
Forum: Dialogue System for Unity
Topic: How Can I Refresh UI Language After Change Language?
Replies: 25
Views: 35904

How Can I Refresh UI Language After Change Language?

Hi,
When after I change language, language on UI is still same.
So after I deactive and active again, it changes with new language.
Is there way to refresh languages immediately after change language?
Thank you.