Done and "implemented" locales

Language for now is called 1 time and hardcoded.
Solved error on todo and made a coment on every lenguage.
This commit is contained in:
bizcochito
2022-01-31 11:03:58 +01:00
parent ed253ddb92
commit 1759196f26
6 changed files with 18 additions and 11 deletions

4
data/scripts/locale.lua Normal file
View File

@@ -0,0 +1,4 @@
function LocaleLoad(ISO639)
local ISO639 = ISO639 or "ENG"
dofile("Mothback/data/locale/"..ISO639..".lua")
end