Search found 3 matches
- Mon Oct 21, 2024 6:56 pm
- Forum: Dialogue System for Unity
- Topic: Custom Solution - Read All Subtitle / Dialogue Text From Json at Runtime for Localization
- Replies: 5
- Views: 121
Re: Custom Solution - Read All Subtitle / Dialogue Text From Json at Runtime for Localization
I leveraged your for-loop structure to update each line of dialogue with the corresponding line in the language.json file. This solution builds a string using the conversation's title and ID number. I had to modify the dialogue nodes to make it work this way, but I only did it like that because I wa...
- Fri Oct 18, 2024 4:34 pm
- Forum: Dialogue System for Unity
- Topic: Custom Solution - Read All Subtitle / Dialogue Text From Json at Runtime for Localization
- Replies: 5
- Views: 121
Re: Custom Solution - Read All Subtitle / Dialogue Text From Json at Runtime for Localization
Ok that's potentially useful. I haven't worked with json before this, so it's a learning experience. I understand the basics, but I haven't thought about how to build my own json string. Once I have the string, how can I get the DialogueDatabase to read it for each respective language code? I think ...
- Fri Oct 18, 2024 9:40 am
- Forum: Dialogue System for Unity
- Topic: Custom Solution - Read All Subtitle / Dialogue Text From Json at Runtime for Localization
- Replies: 5
- Views: 121
Custom Solution - Read All Subtitle / Dialogue Text From Json at Runtime for Localization
I'm working with an SDK and platform that requires a language json file and specific format. (Tony, you probably know the one) The format goes: { "_meta": { "maxChars": { "welcome": 50 } }, "en": { "welcome": "Welcome" }, "es": { ...