ExperimentalGear/scripts/language/call.lua

12 lines
378 B
Lua

local languages = {
EN = require("language.EN"),
DE = require("language.DE"),
SK = require("language.SK"),
HU = require("language.HU"),
test2 = require("language.test2"),
}
local selectedLanguage = languages[game.GetSkinSetting('words')]
local call = selectedLanguage or languages.EN -- fallback to English if the selected language is not found
return call