Translated string key editor

From Divinity Engine Wiki
Revision as of 12:45, 2 October 2017 by Kevin (talk | contribs) (Protected "Translated string key editor" ([Edit=⧼protect-level-larianeditonly⧽] (indefinite) [Move=⧼protect-level-larianeditonly⧽] (indefinite)))
Jump to: navigation, search

Description

The Translated String Key Panel is a panel that allows you to edit Translated String Tables, files which map strings to keys (used for localization).


Using the Translated String Key Panel

TSKPanel StepByStep.png

The Translated String Key Panel with each component numbered


The Translated String Key Panel consists of the following components:

  1. Menu
  2. Quick Menu
  3. Translated String Table Explorer
  4. Translated String Table Editor
  5. Find Results


Menu

File

TSKPanel Menu File.png

A closeup of the File menu


The File menu allows you to save or load the current table or all opened tables in the Translated String Table Editor, open the Find Dialog or export the current translated string table as a .txt file.

View


TSKPanel Menu View.png

A closeup of the View menu


The View menu allows you to open the Solution Dialog.


Quick Menu

The Quick menu has many of the same options as the File menu and more.

From left to right, the Quick menu buttons:

  1. Create a new translated string table
  2. Save the current translated string table opened in the Translated String Table Editor
  3. Save all opened translated string tables in the Translated String Table Editor
  4. Reload all translated string tables from disk
  5. List Problems (opens the Solution Dialog)
  6. Import a translated string table from a .txt file (see "Export..." under File)


Translated String Table Explorer

TSKPanel TableExplorer.png

The translated string table explorer


The Translated String Table explorer shows translated string tables in their respective project and folder as they appear in the Data folder.


Translated String Table Editor

TSKPanel TableEditor.png

The translated string table editor


The Translated String Table editor allows you to edit opened translated string tables.

The table has the following columns:

  • Header (allows you to select/delete whole rows)
  • Key (the key used to access the translated string)
  • Content (the value of the translated string)
  • Speaker
  • ExtraData
  • The [...] button (opens up a multiline edit dialog to edit the translated string's content)


The Find Dialog

TSKPanel Find.png

The Translated String Key Editor's Find Dialog


The Find dialog allows you to search all translated string tables for translated strings by key or by content.

The find dialog consists of the following components:

  • The Find textbox (the string to search for)
  • Key/Value radiobox
    Key: search translated strings by key
    Value: search translated strings by content
  • Match Case: whether the search is case-sensitive
  • Split on space: allows you to search by multiple space-seperated strings
  • Stop at first: search stops after a match is found


Find Results

TSKPanel FindResults.png

The find results section


The find results section shows the results from a search query executed by the Find Dialog.

The table has the following columns:

  • Found Key (the key of a found translated string)
  • Found Item (the content of a found translated string)
  • File (the file path of a found translated string)


The View Panel

TSKPanel ViewPanel.png

The TranslatedStringKeyViewPanel


The view panel (View > View panel) shows the string as it will show up in game and with correct HTML markup.

The panel also allows you to select the gender of the speaker and the gender of the addressed, as the string can sometimes differ.