i18n-node-hapi

1.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0
  • 0.0.2
    1
  • 0.0.1
    0

Package Sidebar

Install

npm i i18n-node-hapi

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • christriddle