Skip to content

How it works

Rodion Lodza edited this page Oct 25, 2020 · 4 revisions

General pipeline

  1. The plugin uses Google Tables as a data source in certain format.
  2. The plugin downloads the Google Table Sheet from the link (the table must be shared) as a TSV file and save it in the project (or in mobile local storage) as the Translations.txt file.
  3. Next, the parsing and validation of translations in the data structures of the localizator.
  4. The user initialize the localizer at the beginning of the game by calling Localizator.Initialize()(loading scenes are best place to do it).
  5. The user translates Text/TextMeshPro components or getting localized strings in custom scripts.
  6. 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.
  7. The user can download translations manually, automatically in the editor or in the game, as well as download translations when building the application.

Google table sheet example

0

Clone this wiki locally