// /AIWK_COMMON/core/aiwk_i18n.js
// AIWK EXT4 v003
(function () {
    "use strict";

    const AIWK = window.AIWK;

    AIWK.i18n = {
        lang: "ko",
        dict: {},
        setLang: function (lang, dict) {
            AIWK.i18n.lang = lang || "ko";
            AIWK.i18n.dict = dict || {};
            AIWK.state.set("lang", AIWK.i18n.lang);
        },
        t: function (key, fallbackValue) {
            return AIWK.i18n.dict[key] || fallbackValue || key;
        }
    };
}());
