We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a57be80 commit 91a8fbdCopy full SHA for 91a8fbd
localization-resources/controllers/default.js
@@ -9,7 +9,7 @@ exports.install = function(framework) {
9
function view_auto() {
10
var self = this;
11
12
- var language = (self.req.headers['accept-language'].split(';')[0].split(',')[0] || 'en').toLowerCase();
+ var language = self.req.language;
13
var lng = '';
14
15
if (language.indexOf('sk') > -1)
0 commit comments