Chromium Code Reviews| Index: chrome/browser/resources/google_now/background.js |
| diff --git a/chrome/browser/resources/google_now/background.js b/chrome/browser/resources/google_now/background.js |
| index fc487cf10cf2ff0f18fc88031dc66cefdd52639f..032df708ea2a3b9798e31f82b1d8728b629a41bc 100644 |
| --- a/chrome/browser/resources/google_now/background.js |
| +++ b/chrome/browser/resources/google_now/background.js |
| @@ -582,6 +582,8 @@ function requestNotificationGroups(groupNames) { |
| requestParameters += ('&requestTypes=' + groupName); |
| }); |
| + requestParameters += '&uiLocale=' + navigator.language; |
|
rgustafson
2014/02/19 19:18:14
https://developer.mozilla.org/en-US/docs/Web/API/N
robliao
2014/02/19 19:26:47
Works for me.
accept-language:en-US,en;q=0.8,de;q
rgustafson
2014/02/19 19:39:16
Do you know the actual standard that these strings
robliao
2014/02/19 19:49:19
A bit more context. The reason why this works is b
|
| + |
| console.log('requestNotificationGroups: request=' + requestParameters); |
| var request = buildServerRequest('GET', 'notifications' + requestParameters); |