1.0.0 • Published 9 years ago

i18n-node-hapi v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

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