Changes

Jump to navigation Jump to search

Games/ETS2/Modding guides/1.33

542 bytes added, 19:51, 27 November 2018
Mods localization support
key[]: "truck_cabin" # Another localization token.
val[]: "Cabin" # And its value - as you can notice its always pair of key and val attributes.
 
# ...
}
</pre>
Thats all, localization should be working. Our system does not fallback untranslated tokens to english so you have to define localization for all languages supported by the game. Currently game supports following list of the languages.
 
<pre>bg_bg, ca_es, cs_cz, da_dk, de_de, el_gr, en_gb, en_us, es_es, es_la, et_ee, eu_es, fi_fi, fr_fr, gl_es, hr_hr, hu_hu, it_it, ja_jp, ka_ge, ko_kr, lt_lt, lv_lv, mk_mk, nl_nl, no_no, pl_pl, pl_si, pt_br, pt_pt, ro_ro, ru_ru, sk_sk, sl_sl, sr_sp, sr_sr, sv_se, tr_tr, uk_uk, vi_vn, zh_cn, zh_tw</pre>
{{Tip|$language$ should be name of the language the localization is for for example: british english is '''en_gb''', polish is '''pl_pl''' etc.}}
{{Note|Mods localization cannot override strings. That means localization defined by mod with highest priority will be used.}}
developer
1,626
edits

Navigation menu