Overriding Translations: Difference between revisions

From Eco - English Wiki
[checked revision][checked revision]
(Created page with "The localization system in Eco allows you to easily change and view translations. All of the strings in the game can be "overridden" by additional CSVs added to the server's...")
 
mNo edit summary
 
Line 1: Line 1:
{{ModdingOutdated}}
The localization system in Eco allows you to easily change and view translations.
The localization system in Eco allows you to easily change and view translations.


All of the strings in the game can be "overridden" by additional CSVs added to the server's /Mods/Translations folder. The headers on these CSVs **Must** follow the following format verbatim:
All of the strings in the game can be "overridden" by additional CSVs added to the server's /Mods/Translations folder. The headers on these CSVs '''Must''' follow the following format verbatim:


<pre>STRINGID,Context,"English","Gibberish","French","Spanish","German","Korean","BrazillianPortuguese","SimplifedChinese","Russian","Italian","Portuguese","Hungarian","Japanese","Norwegian","Polish","Dutch","Romanian","Danish","Czech","Swedish"</pre>
<pre>STRINGID,Context,"English","Gibberish","French","Spanish","German","Korean","BrazillianPortuguese","SimplifedChinese","Russian","Italian","Portuguese","Hungarian","Japanese","Norwegian","Polish","Dutch","Romanian","Danish","Czech","Swedish"</pre>
Line 18: Line 19:


When changing translations in this way, you'll need to reload the localizer every time you make a change. This can be done easily with the Localizer/Load Localization Tables menu item in the Server UI.
When changing translations in this way, you'll need to reload the localizer every time you make a change. This can be done easily with the Localizer/Load Localization Tables menu item in the Server UI.
[[Category: Modding]]

Latest revision as of 18:10, 4 July 2021

Warning: This content is outdated.

The localization system in Eco allows you to easily change and view translations.

All of the strings in the game can be "overridden" by additional CSVs added to the server's /Mods/Translations folder. The headers on these CSVs Must follow the following format verbatim:

STRINGID,Context,"English","Gibberish","French","Spanish","German","Korean","BrazillianPortuguese","SimplifedChinese","Russian","Italian","Portuguese","Hungarian","Japanese","Norwegian","Polish","Dutch","Romanian","Danish","Czech","Swedish"

Where STRINGID is the text StringID tag for that string. You can find the stringID for any given string by downloading the source string table from the Crowdin project HERE.

To override a string, simply add a new line to your CSV and fill out the values. For example;

CURRENCY,,"Money","Moolah","Argent","Dinero"
DISTANCE,,"Distance","<-->","Distance","Distancia"
DEFAULT,,"Wolf","Big Bite Dog","Loup","Lobo"

Note: The StringID "DEFAULT" is used for all strings that have not yet been assigned an official StringID. In these cases, the English literal string is used as the de facto "key" in the localization system. As such, the English string cannot be altered in these cases.

When changing translations in this way, you'll need to reload the localizer every time you make a change. This can be done easily with the Localizer/Load Localization Tables menu item in the Server UI.