summaryrefslogtreecommitdiffstats
path: root/webapp/components/root.jsx
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-03-24 21:46:07 -0700
committerCorey Hulen <corey@hulen.com>2016-03-24 21:46:07 -0700
commitf4e5fb711f5ace84793e9343d9deda9ac6aee636 (patch)
treea9aaff5ccfaf337652e0a349bf887fad311f268a /webapp/components/root.jsx
parentfb9adbfe5bad035895e21c8205fb99194e203075 (diff)
parentb14a87c3bc1d0022d79731261d83b07a154084c3 (diff)
downloadchat-f4e5fb711f5ace84793e9343d9deda9ac6aee636.tar.gz
chat-f4e5fb711f5ace84793e9343d9deda9ac6aee636.tar.bz2
chat-f4e5fb711f5ace84793e9343d9deda9ac6aee636.zip
Merge pull request #2533 from ZBoxApp/PLT-2358
PLT-2358: Detect user localization using client headers
Diffstat (limited to 'webapp/components/root.jsx')
-rw-r--r--webapp/components/root.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/root.jsx b/webapp/components/root.jsx
index 9963bc5dd..3b85b23fd 100644
--- a/webapp/components/root.jsx
+++ b/webapp/components/root.jsx
@@ -69,7 +69,7 @@ export default class Root extends React.Component {
FastClick.attach(document.body);
// Get our localizaiton
- GlobalActions.newLocalizationSelected('en');
+ GlobalActions.loadBrowserLocale();
}
componentWillUnmount() {
LocalizationStore.removeChangeListener(this.localizationChanged);