Setup
Languages
The language files, and adding one of your own.
Config.Language is the name of a file in languages/, without the extension.
Config.Language = "english"| Resource | Ships with |
|---|---|
| ktx_garages | english, german, french |
| ktx_fishing | english, german |
| ktx_dispatch | english, german |
| ktx_cases | english, german |
Your own language
Copy english.lua, rename it, translate the values and point Config.Language at the new name. English is always loaded underneath, so a key you have not translated yet falls back instead of showing up empty.
Keys are nested and the code reads them with dots:
return {
ui = {
title = "Dispatch",
},
}languages/ is never encrypted, and an update never overwrites it.