Closed adrienbarreau closed 8 years ago
Hello,
Is it possible to set the locale according to the language desired by the browser's Accept-language header ?
Hello
req.i18n.setLocale(req.i18n.preferredLocale(req));
This is the way to do it (it is undocumented I think).
Awesome ! Thanks !
Hello,
Is it possible to set the locale according to the language desired by the browser's Accept-language header ?