Search found 150 matches
- Mon Nov 11, 2024 3:29 am
- Forum: Dialogue System for Unity
- Topic: Translations import/exports in XLIFF, JSON, simple CSV or something ?
- Replies: 14
- Views: 362
Re: Translations import/exports in XLIFF, JSON, simple CSV or something ?
I might be wrong, but: When exporting, the hash table is built while writing out the entries. Only at the end is the hash table added. So in the exported file, it is after the entries. When reading the (translated) file back, the entries are read first, at which time the hash table has not yet been ...
- Sun Nov 10, 2024 4:01 pm
- Forum: Dialogue System for Unity
- Topic: Translations import/exports in XLIFF, JSON, simple CSV or something ?
- Replies: 14
- Views: 362
Re: Translations import/exports in XLIFF, JSON, simple CSV or something ?
Yes, but writing it back can be tricky. I'll need that same table, so I must delay importing conversation entries until I do or go over them twice. I'm trying to think of a smarter way.
- Sat Nov 09, 2024 11:41 am
- Forum: Dialogue System for Unity
- Topic: Translations import/exports in XLIFF, JSON, simple CSV or something ?
- Replies: 14
- Views: 362
Re: Translations import/exports in XLIFF, JSON, simple CSV or something ?
I'm not sure how to handle group names here. If I add it as a field, I get the group name duplicated for each quest in the group, which is not what it should be.
- Sat Nov 09, 2024 11:32 am
- Forum: Dialogue System for Unity
- Topic: Translations import/exports in XLIFF, JSON, simple CSV or something ?
- Replies: 14
- Views: 362
Re: Translations import/exports in XLIFF, JSON, simple CSV or something ?
Probably the right approach except in my case where I've already translated stuff inside Dialogue System and now want to transition over. Here is a modified CopyStringTableToTextTables.cs that appears to work. It has a 3rd button to export with translations for actors, quests and conversation entrie...
- Sat Nov 09, 2024 10:25 am
- Forum: Dialogue System for Unity
- Topic: Translations import/exports in XLIFF, JSON, simple CSV or something ?
- Replies: 14
- Views: 362
Re: Translations import/exports in XLIFF, JSON, simple CSV or something ?
Updated and tried it out. Do I see right in DialogueToLocalizationTableWindow.cs that it doesn't export localizations that I made in Dialogue System using the localized fields (e.g. "DisplayName de")? The code indicates it imports them, but it doesn't export them. I'll try to add that myse...
- Tue Oct 29, 2024 7:56 am
- Forum: Dialogue System for Unity
- Topic: Translations import/exports in XLIFF, JSON, simple CSV or something ?
- Replies: 14
- Views: 362
Re: Translations import/exports in XLIFF, JSON, simple CSV or something ?
I'll do that and post the scripts here.
I tried the Unity Localization integration a long time ago, but it made me unhappy. Don't remember why. I might try again in light of this because at least export works, I'm still fiddling with the re-import.
I tried the Unity Localization integration a long time ago, but it made me unhappy. Don't remember why. I might try again in light of this because at least export works, I'm still fiddling with the re-import.
- Mon Oct 28, 2024 9:33 am
- Forum: Dialogue System for Unity
- Topic: Translations import/exports in XLIFF, JSON, simple CSV or something ?
- Replies: 14
- Views: 362
Re: Translations import/exports in XLIFF, JSON, simple CSV or something ?
Yes, the CSV export is what I'm talking about. It exports to a spreadsheet. As far I can tell, that is in no format anything else supports. Weblate, for example, expects one line per term (key, translation). The Dialogue System exports a CSV that is great for editing in a spreadsheet (e.g. Excel) be...
- Mon Oct 28, 2024 5:58 am
- Forum: Dialogue System for Unity
- Topic: Translations import/exports in XLIFF, JSON, simple CSV or something ?
- Replies: 14
- Views: 362
Translations import/exports in XLIFF, JSON, simple CSV or something ?
I'm trying to integrate Weblate for community translations. Found out that while Unity Localization works really well, the Dialogue System export doesn't. It is well-suited for using a spreadsheet to translate, but it's not a standard file format. Would it be possible to get an export and import to ...
- Sun Sep 24, 2023 3:45 am
- Forum: Dialogue System for Unity
- Topic: Feature Request: Dialog Queue
- Replies: 1
- Views: 248
Feature Request: Dialog Queue
I've looked at doing this myself but couldn't find an easy way, it'll probably need a bit of refactoring, but maybe others share this need: In addition to the "exclusive" and "replace" options, I'd like a "queue" option in the dialog trigger. The functionality would be ...
- Sat Sep 23, 2023 3:49 am
- Forum: Dialogue System for Unity
- Topic: Bug with actor portraits showing the wrong one on player input
- Replies: 3
- Views: 405
Re: Bug with actor portraits showing the wrong one on player input
Finally found it. It wasn't this, but your answer put me on the right path. The problem only appeared on response menus. Since my game always shows the speaker on the left and the listener on the right (using a simple script to update them in OnConversationLine) it actually changed the speaker portr...