Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Basic folder structure

\Libs\UI\gfxfontlib.gfx.pak\LanguagesTranslation tables

Folder

Packaged location

Description

GameGameSDK\Libs\UI*.gfx

GameSDK\GameData.pak

Flash assets

Game\LocalizedLocalization\<language>\HUD_Font_LocFont.gfx

Localization\<language>_XML.pak

Font lib for each language

GameLocalization\Localized\<language>.pak\Libs\UI\gfxfontlib\HUD_Font_LocFont_glyphs.gfx

Localization\<language>_XML.pak

Glyph set for each languageGame\Localized

  Localization\<language>
\text_ui_*.xml
Localization\<language>_XML.pak

Translated strings

String Localization

UI string translations are stored in .xml excel Excel sheets. It simply stores labels (keys) and translation.

Translation table

The UI translation tables are located under: Game\Languages.xml. The system loads all xml files in this folder on start-up or on language change.

Translation tables for each language must be stored under: Game\LocalizedLocalization\<Language>.pak\Languages.xml\text_ui*.xml for it to be processed to the default locations used by the engine.

For UI translation the tables must have a column "KEY", "ORIGINAL TEXT" and "TRANSLATED TEXT".

...

Just create gfxfontlib.gfx and gfxfontlib_glyphs.gfx files for each language and place them under:

GameLocalization\Localized<language>\<language>.pak\Libs\UI*.gfx

Info
titleNote

You have to reload the UI elements after switching to a different language.