Trinity string tc2

From TrinityCore Wiki
Jump to: navigation, search

Contents

Back to world database list of tables.


The `trinity_string` table

This table holds all of the strings used internally by the server. This table is provided with the main purpose of translation in mind.

To see which locale IDs correspond to what languages, visit the Localization_lang page.

NOTE: The % arguments need to stay in the exact same order as they are provided by default in the English translation.


Structure

Field Type Attributes Key Null Default Extra Comment
entry mediumint(8) unsigned PRI NO 0
content_default text signed NO NULL
content_loc1 text signed YES NULL
content_loc2 text signed YES NULL
content_loc3 text signed YES NULL
content_loc4 text signed YES NULL
content_loc5 text signed YES NULL
content_loc6 text signed YES NULL
content_loc7 text signed YES NULL
content_loc8 text signed YES NULL


Description of the fields

entry

The ID that the core uses to identify a string. These IDs are contained and used internally and need to correspond to what the core expects. The core will not operate if all IDs aren't in this table.

content_default

The English translation (locale ID 0).

content_loc

The translation in another language depending on the locale ID of that language.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox