I2Localization 3rd Party Support Error
Posted: Thu Jan 18, 2018 2:37 pm
Hey Tony & DS users,
If you use I2 Localization and have the Language names set to the actual languages' names (e.g. Русский or 日本語) and also use the Dialogue System's I2 integration, you will receive Lua parsing errors. The support scripts generate field names using the Language names and will use the unsupported unicode. I fixed this by having the scripts use GetLanguagesCode and CurrentLanguageCode instead of GetLanguages throughout.
If you are wondering why anyone would not use the English generated Language names inside I2, the auto-generated Language selection dropdown and also the spreadsheets you export for translators use the Language names you set inside the I2Localizations prefab. It would then make sense for the user-facing Language names to be displayed in the actual language.
If you use I2 Localization and have the Language names set to the actual languages' names (e.g. Русский or 日本語) and also use the Dialogue System's I2 integration, you will receive Lua parsing errors. The support scripts generate field names using the Language names and will use the unsupported unicode. I fixed this by having the scripts use GetLanguagesCode and CurrentLanguageCode instead of GetLanguages throughout.
If you are wondering why anyone would not use the English generated Language names inside I2, the auto-generated Language selection dropdown and also the spreadsheets you export for translators use the Language names you set inside the I2Localizations prefab. It would then make sense for the user-facing Language names to be displayed in the actual language.