Oregon string

From OregonCore Wiki
Jump to: navigation, search

Back to world database list of tables.


The `oregon_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.

Schema Last Modified: Rev 34 - Schema Verified: Rev 665


Structure

Field Type Attributes Key Null Default Extra Comment
entry mediumint(8) unsigned PRI NO 0
content_default text utf8_general_ci NO NULL
content_loc1 text utf8_general_ci YES NULL
content_loc2 text utf8_general_ci YES NULL
content_loc3 text utf8_general_ci YES NULL
content_loc4 text utf8_general_ci YES NULL
content_loc5 text utf8_general_ci YES NULL
content_loc6 text utf8_general_ci YES NULL
content_loc7 text utf8_general_ci YES NULL
content_loc8 text utf8_general_ci 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.