Language

Introduced in 3.0.0

Stability: 2 - Stable

const Language = require('kado/lib/Language')

This library is the primary point of localization within the Kado system and serves a dual purpose of compiling and accessing language packs as well as providing internationalization helpers.

Class: Language

static Language.hasFulIntl()

static Language.getInstance()

Language.constructor()

Language.getSupportedSC()

Language.getPack(locale, override)

Language.addPack(name, content)

Language.addModule(name, module, content)

Language.loadModule(name, module, pack)

Language.removeModule(name, module)

Language.removePack(name)

Language.all()