How to Set up Localization with I2

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
etsapekis
Posts: 39
Joined: Tue Oct 12, 2021 4:21 pm

How to Set up Localization with I2

Post 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
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to Set up Localization with I2

Post 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).
etsapekis
Posts: 39
Joined: Tue Oct 12, 2021 4:21 pm

Re: How to Set up Localization with I2

Post by etsapekis »

Thank you very much for the help. I got it working without issue
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to Set up Localization with I2

Post by Tony Li »

Great! Happy to help.
Post Reply