-
Notifications
You must be signed in to change notification settings - Fork 4
How it works
Rodion Lodza edited this page Oct 25, 2020
·
4 revisions
- The plugin uses Google Tables as a data source in certain format.
- The plugin downloads the
Google Table Sheetfrom the link (the table must be shared) as a TSV file and save it in the project (or in mobile local storage) as theTranslations.txtfile. - Next, the parsing and validation of translations in the data structures of the localizator.
- The user initialize the localizer at the beginning of the game by calling
Localizator.Initialize()(loading scenes are best place to do it). - The user translates
Text/TextMeshProcomponents or getting localized strings in custom scripts. - In case of errors at different stages (downloading, parsing, getting a translation by key), the localizer notifies the error in the console or in its editor window.
- The user can download translations manually, automatically in the editor or in the game, as well as download translations when building the application.