Dialogue Text from i2Loc not working
-
- Posts: 18
- Joined: Wed Aug 14, 2024 3:06 pm
Dialogue Text from i2Loc not working
Hi!
I'm trying to find the best workflow for my team to get i2 localization sheets and pass it to the dialogue system.
I'm using the DS to l2 window, but for some reason the dialogue nodes are not being filled with the terms content.
i2 asset has two languages: English and Portuguese (Brazil), with en and pt-BR codes respectively.
Also note that I want the primary field (Dialogue Text) to be filled with i2 english language, so I ticked the "Update Primary Fields" checkbox and filled "From Language" with "en".
Here are some screenshots to help:
I'm trying to find the best workflow for my team to get i2 localization sheets and pass it to the dialogue system.
I'm using the DS to l2 window, but for some reason the dialogue nodes are not being filled with the terms content.
i2 asset has two languages: English and Portuguese (Brazil), with en and pt-BR codes respectively.
Also note that I want the primary field (Dialogue Text) to be filled with i2 english language, so I ticked the "Update Primary Fields" checkbox and filled "From Language" with "en".
Here are some screenshots to help:
Re: Dialogue Text from i2Loc not working
Hi,
What happens when you click the DS To I2 window's "From I2" button? Does it fill in dialogue entry 1 with the translations you show in the screenshot? If not, are there any errors or warnings in the Console window?
What happens when you click the DS To I2 window's "From I2" button? Does it fill in dialogue entry 1 with the translations you show in the screenshot? If not, are there any errors or warnings in the Console window?
-
- Posts: 18
- Joined: Wed Aug 14, 2024 3:06 pm
Re: Dialogue Text from i2Loc not working
Nothing happens when I click the "From I2" button unfortunately.
The Verbose setting is set to "Detailed" and shows just this message:
The Verbose setting is set to "Detailed" and shows just this message:
Re: Dialogue Text from i2Loc not working
Hi,
Is the correct dialogue database still assigned to the DS To I2 window?
Is the DialogueEntries > Dialogue Text checkbox still ticked?
Are the options at the bottom (Fields Use, Custom Field For Entries, etc.) still the same as when you clicked "To I2"?
Make sure the Console window isn't hiding warnings or errors.
You should see something like:
Dialogue System: Conversation/New Conversation 1/Entry/1/NPC en = (English version)
Dialogue System: Conversation/New Conversation 1/Entry/1/NPC PT-br = (Portuguese version)
(repeat above for all entries)
...
Copied terms from I2Languages to Dialogue System.
Is the correct dialogue database still assigned to the DS To I2 window?
Is the DialogueEntries > Dialogue Text checkbox still ticked?
Are the options at the bottom (Fields Use, Custom Field For Entries, etc.) still the same as when you clicked "To I2"?
Make sure the Console window isn't hiding warnings or errors.
You should see something like:
Dialogue System: Conversation/New Conversation 1/Entry/1/NPC en = (English version)
Dialogue System: Conversation/New Conversation 1/Entry/1/NPC PT-br = (Portuguese version)
(repeat above for all entries)
...
Copied terms from I2Languages to Dialogue System.
-
- Posts: 18
- Joined: Wed Aug 14, 2024 3:06 pm
Re: Dialogue Text from i2Loc not working
The database is correct, I only use one at the moment.
The DialogueEntries>Dialogue Text checkbox is ticked.
The options at the bottom are the same when I clicked "To I2".
I forgot to click to show warnings in my console window indeed, by enabling again it said there were no terms for two dialogue entries. I proceeded to create manually in I2 those two terms and by doing this, only these 2 terms were used to fill the dialogue entries.
Here is the console log after doing this: There are no errors or warnings aside from this.
The DialogueEntries>Dialogue Text checkbox is ticked.
The options at the bottom are the same when I clicked "To I2".
I forgot to click to show warnings in my console window indeed, by enabling again it said there were no terms for two dialogue entries. I proceeded to create manually in I2 those two terms and by doing this, only these 2 terms were used to fill the dialogue entries.
Here is the console log after doing this: There are no errors or warnings aside from this.
Re: Dialogue Text from i2Loc not working
After clicking "To I2", did you change any of the values in the section below?
If so, then the integration will look for different terms than what is in your i2 assets file.
As a test:
If so, then the integration will look for different terms than what is in your i2 assets file.
As a test:
- Back up your database and i2 assets files (e.g., in version control).
- Click "Clear I2" to remove all Dialogue System terms from your i2 asset.
- Click "To I2" to create new terms in your i2 asset.
- Translate a few of these terms in i2.
- Click "From I2" to copy those back from i2 to the dialogue database. Confirm that this works.
-
- Posts: 18
- Joined: Wed Aug 14, 2024 3:06 pm
Re: Dialogue Text from i2Loc not working
Yes, I did change after clicking "To I2" the settings "Assets Use" to "Name" and "Extra Entry Info" to "Actor" as a test, however I reverted to "ID" and "None" later when trying to get data from I2 asset, which currently has terms in the form "Dialogue System/Conversation/1/Entry/1".
I did the test you requested, it only creates terms in I2 if the Dialogue Text is not empty on a dialogue entry, is there a way to create the term regardless if it's empty? If I fill the dialogue entry's Dialogue Text, it creates the term, then if I fill in I2, it correctly fill the dialogue entry when clicking "From I2".
I did the test you requested, it only creates terms in I2 if the Dialogue Text is not empty on a dialogue entry, is there a way to create the term regardless if it's empty? If I fill the dialogue entry's Dialogue Text, it creates the term, then if I fill in I2, it correctly fill the dialogue entry when clicking "From I2".
Re: Dialogue Text from i2Loc not working
"To I2" is designed to only copy dialogue entries that have Dialogue Text. Try this patch:
DS_i2Patch_2024-10-16.unitypackage
It has a new checkbox that will copy empty entries to i2 also.
DS_i2Patch_2024-10-16.unitypackage
It has a new checkbox that will copy empty entries to i2 also.
-
- Posts: 18
- Joined: Wed Aug 14, 2024 3:06 pm
Re: Dialogue Text from i2Loc not working
That's a very useful patch, thank you very much!
Now when I tick this new checkbox, the terms are created in I2 regardless if the Dialogue Text field is empty or not, that's good
However, I still have problems to pass data from I1 to the dialogue system.
Here's what I did with the new checkbox ticked:
1) I changed the "Assets Use" setting to "Name"
2) I changed the "Extra Entry Info" to "Actor"
3) I clicked the "Clear I2" button;
4) I clicked the "To I2" button;
5) With the terms created in I2, I exported the spreadsheet and edited the terms with localized text for english and pt-BR
6) I imported the spreadsheet again. The localization is updated correctly in the I2 Unity editor window.
7) I clicked the "From I2" button. The dialogue entries are not updated.
Now when I tick this new checkbox, the terms are created in I2 regardless if the Dialogue Text field is empty or not, that's good
However, I still have problems to pass data from I1 to the dialogue system.
Here's what I did with the new checkbox ticked:
1) I changed the "Assets Use" setting to "Name"
2) I changed the "Extra Entry Info" to "Actor"
3) I clicked the "Clear I2" button;
4) I clicked the "To I2" button;
5) With the terms created in I2, I exported the spreadsheet and edited the terms with localized text for english and pt-BR
6) I imported the spreadsheet again. The localization is updated correctly in the I2 Unity editor window.
7) I clicked the "From I2" button. The dialogue entries are not updated.
Re: Dialogue Text from i2Loc not working
What logs are in the Console window?GarlandChaos wrote: ↑Wed Oct 16, 2024 1:09 pm7) I clicked the "From I2" button. The dialogue entries are not updated.