derby-lang-fs

Filesystem translation loader for Derby Lang.

npm install derby-lang-fs
4 downloads in the last week
10 downloads in the last month

Derby Lang FS

Load Derby Lang translations from the file system.

Installation

$ npm install derby-lang-fs

In "/lib/server/index.js"

var langFs = require('derby-lang-fs');

expressApp
  // after lang.init()
  .use(user.langFs())
  // before lang.build()

Options

  • directory — The directory containing the language files. (defaults to "locale")
npm loves you