diff --git a/languages.json b/languages.json
index bcabe056f..411834551 100644
--- a/languages.json
+++ b/languages.json
@@ -1,9 +1,11 @@
{
- "en": "English",
+ "ab": "Аҧсшәа",
+ "ar": "العربية",
"an": "Aragonés",
"ast": "Asturianu",
"id": "Bahasa Indonesia",
"ms": "Bahasa Melayu",
+ "bg": "Български",
"ca": "Català",
"cs": "Česky",
"cy": "Cymraeg",
@@ -12,62 +14,63 @@
"de": "Deutsch",
"yum": "Edible Scratch",
"et": "Eesti",
+ "el": "Ελληνικά",
+ "en": "English",
"eo": "Esperanto",
"es": "Español",
"eu": "Euskara",
+ "fa": "فارسی",
"fr": "Français",
+ "fur": "furlan",
"ga": "Gaeilge",
"gd": "Gàidhlig",
"gl": "Galego",
+ "ko": "한국어",
+ "hy": "Հայերեն",
+ "he": "עִבְרִית",
+ "hi": "हिन्दी",
"hr": "Hrvatski",
"is": "Íslenska",
"it": "Italiano",
+ "kn": "ಭಾಷೆ-ಹೆಸರು",
"rw": "Kinyarwanda",
+ "km": "សំលៀកបំពាក",
"ht": "Kreyòl",
"ku": "Kurdî",
"la": "Latina",
"lv": "Latviešu",
"lt": "Lietuvių",
+ "mk": "Македонски",
"hu": "Magyar",
+ "ml": "മലയാളം",
"mt": "Malti",
+ "mr": "मराठी",
"cat": "Meow",
+ "mn": "Монгол хэл",
+ "my": "မြန်မာဘာသာ",
"nl": "Nederlands",
+ "ja": "日本語",
+ "ja-hr": "にほんご",
"nb": "Norsk Bokmål",
"nn": "Norsk Nynorsk",
"uz": "Oʻzbekcha",
+ "th": "ไทย",
"pl": "Polski",
"pt": "Português",
"pt-br": "Português Brasileiro",
"ro": "Română",
+ "ru": "Русский",
"sc": "Sardu",
+ "sq": "shqiptar",
"sk": "Slovenčina",
"sl": "Slovenščina",
+ "sr": "Српски",
"fi": "suomi",
"sv": "Svenska",
+ "te": "తెలుగు",
"nai": "Tepehuan",
"vi": "Tiếng Việt",
"tr": "Türkçe",
- "ab": "Аҧсшәа",
- "ar": "العربية",
- "bg": "Български",
- "el": "Ελληνικά",
- "fa": "فارسی",
- "he": "עִבְרִית",
- "hi": "हिन्दी",
- "hy": "Հայերեն",
- "ja": "日本語",
- "ja-hr": "にほんご",
- "km": "សំលៀកបំពាក",
- "kn": "ಭಾಷೆ-ಹೆಸರು",
- "ko": "한국어",
- "mk": "Македонски",
- "ml": "മലയാളം",
- "mn": "Монгол хэл",
- "mr": "मराठी",
- "my": "မြန်မာဘာသာ",
- "ru": "Русский",
- "sr": "Српски",
- "th": "ไทย",
"uk": "Українська",
"zh-cn": "简体中文",
"zh-tw": "正體中文"
diff --git a/src/components/footer/www/footer.jsx b/src/components/footer/www/footer.jsx
index a34a0f06e..e243a5a35 100644
--- a/src/components/footer/www/footer.jsx
+++ b/src/components/footer/www/footer.jsx
@@ -1,5 +1,7 @@
var React = require('react');
-var FormattedMessage = require('react-intl').FormattedMessage;
+var ReactIntl = require('react-intl');
+var FormattedMessage = ReactIntl.FormattedMessage;
+var injectIntl = ReactIntl.injectIntl;
var FooterBox = require('../container/footer.jsx');
var LanguageChooser = require('../../languagechooser/languagechooser.jsx');
@@ -204,7 +206,7 @@ var Footer = React.createClass({
-
@@ -216,4 +218,4 @@ var Footer = React.createClass({ } }); -module.exports = Footer; +module.exports = injectIntl(Footer); diff --git a/src/components/languagechooser/languagechooser.jsx b/src/components/languagechooser/languagechooser.jsx index bb6dc5910..c538fb923 100644 --- a/src/components/languagechooser/languagechooser.jsx +++ b/src/components/languagechooser/languagechooser.jsx @@ -16,7 +16,7 @@ var LanguageChooser = React.createClass({ getDefaultProps: function () { return { languages: languages, - locale: window._locale + locale: 'en' }; }, onSetLanguage: function (name, value) {