summaryrefslogtreecommitdiffstats
path: root/webapp/components/root.jsx
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2016-03-24 15:25:03 -0300
committerElias Nahum <nahumhbl@gmail.com>2016-03-24 15:41:08 -0300
commitb14a87c3bc1d0022d79731261d83b07a154084c3 (patch)
tree1c1dad221f5bfe22f93cf3241e46e74585010f2c /webapp/components/root.jsx
parent998ce12133358eab587702e258edefbd437f86ba (diff)
downloadchat-b14a87c3bc1d0022d79731261d83b07a154084c3.tar.gz
chat-b14a87c3bc1d0022d79731261d83b07a154084c3.tar.bz2
chat-b14a87c3bc1d0022d79731261d83b07a154084c3.zip
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);