Page 1 of 1

How to Set up Localization with I2

Posted: Thu Oct 14, 2021 9:19 pm
by etsapekis
At the bottom of this page from the online manual - https://pixelcrushers.com/dialogue_syst ... ation.html - it says that "I2 Localization Support provides an alternate way to add language localization."
Also this page - https://pixelcrushers.com/dialogue_syst ... TextTables - states the same thing, "I2 Localization Support: The Dialogue System supports Inter Illusion's I2 Localization. If you use I2 Localization, you may want to use the Dialogue System's I2 Localization Support."
I believe this means that the entire pages are not relevant if I'm doing my localization with i2. So the page that is referenced is - https://pixelcrushers.com/dialogue_syst ... ation.html
I am not seeing how to actually set up the localization. I tried "DS to I2" with an "optional" Localized Text Table field, but it looks to me like that field isn't so "optional".
I am unsure of how to start

Re: How to Set up Localization with I2

Posted: Thu Oct 14, 2021 9:47 pm
by Tony Li
Hi,

You're looking at the old manual for version 1.x of the Dialogue System. (You can tell the difference because the old manual has a red banner at the top that says "CLICK HERE FOR CURRENT DOCS", and the version number in the footer is 1.x.)

Please refer to this page in the current manual: i2 Localization Support

The main page for the current manual is here: Dialogue System Documentation

Here are the basic steps to set up localization with i2:

1. We'll assume your project already have the Dialogue System and i2 Localization, and that you've create a dialogue database and, optionally, a text table asset.

2. Import the "I2 Localization Support" package.

3. Select menu item Tools → Pixel Crushers → Dialogue System → Third Party → I2 Localization → DS To I2. This will open the DS To I2 window.

4. Assign your dialogue database to the window. Optionally assign a text table.

5. Review the foldouts. Tick only the fields that you want to localize. These are my recommendations:
  • Actors: Display Name (or Name if you don't use Display Name)
  • Items/Quests: Display Name (or Name), Description, Success Description, Failure Description, Entry # fields
  • Dialogue Entries: Dialogue Text, Menu Text
  • If you assigned a text table asset, click the All button
6. Click To I2. This will create terms in your i2 Localization asset for all the fields that you ticked in step #5 above.

7. Click Inspect I2 to view the i2 Localization asset. Translate the terms in your i2 asset.

8. In the DS To I2 window, click From I2. This will retrieve the translations from your i2 asset and update your dialogue database (and, optionally, your text table asset if you assigned one).

Re: How to Set up Localization with I2

Posted: Fri Oct 15, 2021 12:46 pm
by etsapekis
Thank you very much for the help. I got it working without issue

Re: How to Set up Localization with I2

Posted: Fri Oct 15, 2021 12:54 pm
by Tony Li
Great! Happy to help.