Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
SERVER_PLAYER_HAS_JOINED(RULES)
SERVER_PLAYER_HAS_JOINED(^2*^0johnsacka)
The parameter for bot names always has a leading ^2*^0, that's why their name color cannot get changed by localization files.
Then each client's chat transforms that id_handle into a message for the selected language:
Texts - 0 followed by Params - 0 followed by Texts - 1 followed by Params 1 folloed by ...
In english:
"" + "RULES" + " has joined." -> "RULES has joined."
"" + "^2*^0johnsacka" + " has joined." -> "^2*^0johnsacka has joined.
And I changed the texts of these english localization entries. I didn't touch any other languages because I don't speak most of those and play all games on english.
How localization works:
Every text element, that a developer wants a translation for is placed as an id_handle and not plain text. And depending on the player's choice of language the player sees the matching text for this handle by looking it up in the localization database.
SERVER_PLAYER_HAS_JOINED
for example is the handle to let everyone in chat know, that someone has joined a lobby. It has 2 text elements and 1 parameter to place between any text elements.
In english (the "" are just marking which characters are in that field):
Texts - 0: "" (an empty text string, in Wreckfest all localizations start with a text string)
Texts - 1: " has joined."
Params - 0: "%(player)"