toa-i18n
I18n module for toa.
toa
i18n-node v0.5.0
WrappedDemo
const Toa = const toaI18n = const app = app; app
Installation
npm install toa-i18n
API
const toaI18n =
toaI18n(app, options)
It will add __
, __n
, getLocale
, setLocale
, getCatalog
method to context
, And locale
getter to context
.
options
is the same as i18n-node.
Licences
(The MIT License)