summaryrefslogtreecommitdiffstats
path: root/web/templates/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates/head.html')
-rw-r--r--web/templates/head.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/web/templates/head.html b/web/templates/head.html
index 845cc76e7..32bf337bc 100644
--- a/web/templates/head.html
+++ b/web/templates/head.html
@@ -62,11 +62,14 @@
<style id="antiClickjack">body{display:none !important;}</style>
<script>
- if ('ReactIntl' in window && 'ReactIntlLocaleData' in window) {
- Object.keys(ReactIntlLocaleData).forEach((lang) => {
- ReactIntl.addLocaleData(ReactIntlLocaleData[lang]);
- });
- }
+ // if ('ReactIntl' in window && 'ReactIntlLocaleData' in window) {
+ // Object.keys(ReactIntlLocaleData).forEach((lang) => {
+ // ReactIntl.addLocaleData(ReactIntlLocaleData[lang]);
+ // });
+ // }
+
+ ReactIntl.addLocaleData(ReactIntlLocaleData.en);
+ ReactIntl.addLocaleData(ReactIntlLocaleData.es);
window.mm_config = {{ .ClientCfg }};
window.mm_license = {{ .ClientLicense }};