i18n-node-hapi
v1.0.0
Published
A hapi plugin for i18n support using mashpie/i18n-node
Downloads
4
Maintainers
Readme
i18n-node-hapi
A hapi plugin for i18n support using mashpie/i18n-node
Usage
server.pack.register({
plugin: require('i18n-node-hapi'),
options: {
locales:['en', 'de'],
directory: __dirname + '/locales'
}
});
Options are passed directly to mashpie/i18n-node. See configuration options for more information.
Roadmap
v1.0.0 - add i18n methods to view context