i18next-express-middleware
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -39,3 +39,4 @@ 'use strict'; | ||
// set locale | ||
req.locale = req.lng = req.language = lng || i18next.options.fallbackLng[0]; | ||
req.language = req.locale = req.lng = lng || i18next.options.fallbackLng[0]; | ||
req.languages = i18next.services.languageUtils.toResolveHierarchy(lng); | ||
@@ -42,0 +43,0 @@ // assert t function returns always translation |
{ | ||
"name": "i18next-express-middleware", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "express middleware for i18next", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17881
389