Translations

Geoffrey Horsington edited this page Aug 8, 2017 · 3 revisions

YAT's main purpose is to replace in-game resources, like strings, UI assets and textures without modifying game's resource files.

Installing translations

By default, YAT does not come with any translations. YAT uses the same translation structure as the Unified Translation Plug-in, so most community-provided translations can be used. If you wish to create own translations, YAT supports resource dumping to easily acquire untranslated resources.

Translation structure

All translations are placed into UnityInjector's Config folder. More specifically, the translations are divided into the following subfolders:

  • Strings - contains original-translation string pairs put into one or multiple text files.
  • Assets - contains translated common UI elements as PNG files
  • Textures - contains textures as PNG files

When the game is launched, YAT searches for these directories from UnityInjector\Config folder and scans them recusively. All found assets are cached into memory. If these folders do not exist, YAT creates these folders automatically.

NOTE: YAT will fail to load, if the Config directory is read-only.

If resource dumping is enabled, YAT will also create TranslationDumps folder that YAT will put in-game assets that it found, but failed to translate.

Reloading translation files in-game

YAT allows to reload translation files while being in-game. While playing, press F12 to reload the configuration file and all translation files. YAT will also attempt to reload all currently visible and previously replaces resources. However, by default immediate string reloading is disabled. If you are a translator, you will most likely want to enable it with EnableStringReload option.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.