0.0.1 • Published 10 years ago
i18n-xlocale v0.0.1
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 --saveLoading
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 hi@kubide.es
0.0.1
10 years ago