Module:I18n

local p = {}

function p.getString(path, ...) local code = mw.getContentLanguage:getCode local localeStrings = Strings[code] local subkeys = mw.text.split(path, "%.") local result = localeStrings for _, subkey in ipairs(subkeys) do		result = result[subkey] end return result:format(...) end

return p