Rolly Docs

Translate the settings

Gather the plugin's own texts with your game's, translate your collection, and check that nothing on the settings screen escapes localization.

Sheet
32 of 45
Rev
1.2.0
Updated
On this sheet

Every player-facing text is an FText: the settings, their options and descriptions, and the screen’s labels, facts, prompts and questions.

Gather the texts

  1. Texts in your collection (display names, descriptions, option names, category names) are gathered with your content.
  2. To translate the plugin’s own texts with your game, add the plugin’s Source folder to your Game localization target’s Gather from Text Files search directories. Its LOCTEXT namespaces start with RollySettings, with RollySettingsCoreUI for the texts of the shared widgets and dialogs, and with RollySettingsCoreKeyNames for the names of keys.

Numbers follow the player’s culture (0,5 in German); saved values never do (see Add your own settings).

Gather the plugin’s texts for every language you ship: the language question shows its lines in the previous language from these translations (see Let players choose their languages). Language names and device names are never translated: each language is named in its own words, and devices as the system names them.

Check the screen

An automated test shows the settings screen, its dialogs and key capture in the LEET test language and fails on any text that did not come through localization (see Extend Rolly Settings in C++); another switches the language while the screen is open and checks that every text changes in place, language and device names aside, with focus and scrolling kept. Long translations are laid out for: a setting’s name wraps to a second line, a value too long for its column ends with an ellipsis and the detail says it in full, and the buttons of the questions wrap when their labels do not fit.

Limits

  • Layouts are laid out for left-to-right languages; right-to-left languages were not checked.