API Docs for: 2.10.19
Show:

oreesh-i18n Class

Internationalization support for Oreesh

// Can be created dynamically
var i18n = new OreeshI18n();


<!-- Or via HTML -->
<oreesh-i18n key="name">My string</oreesh-i18n>

Set the locale at window['oreesh-i18n'] like this:

window['oreesh-i18n'] = {
    locale: 'en-us',
    'en-us': {
        name: 'My string'
    },
    'ko-kr': {
        name: '나의 문자열'
    }
};

Item Index