i18n-xlocale
v0.0.1
Published
Middleware to control i18n middleware based on X-Locale header
Downloads
3
Readme
cors-express
Middleware to control i18n middleware based on a X-Locale header
Can see here more info about i18n original middleware
Installation
The best way to install it is using npm
npm install 18n-xlocale --save
Loading
var i18n = require('18n-xlocale');
Initialization and Usage
var app = express(),
options = {};
i18n.configure(options)
app.use(i18n.use);
Options
You can see all available options in the original package: i18n
Support
This plugin is proudly supported by Kubide [email protected]