From a42b8606245db4ce0f6e775d5ddc84e179cc7af4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 14 Apr 2018 05:16:15 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E6=99=82=E7=9A=84=E3=81=AB=E6=97=A5?= =?UTF-8?q?=E6=9C=AC=E8=AA=9E=E3=81=AE=E3=81=BF=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/app/boot.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/client/app/boot.js b/src/client/app/boot.js index 13abc86ad..70705e814 100644 --- a/src/client/app/boot.js +++ b/src/client/app/boot.js @@ -31,10 +31,11 @@ // Detect the user language // Note: The default language is Japanese - let lang = navigator.language.split('-')[0]; - if (!/^(en|ja)$/.test(lang)) lang = 'ja'; - if (localStorage.getItem('lang')) lang = localStorage.getItem('lang'); - if (ENV != 'production') lang = 'ja'; + //let lang = navigator.language.split('-')[0]; + //if (!/^(en|ja)$/.test(lang)) lang = 'ja'; + //if (localStorage.getItem('lang')) lang = localStorage.getItem('lang'); + //if (ENV != 'production') lang = 'ja'; + const lang = 'ja'; // Detect the user agent const ua = navigator.userAgent.toLowerCase();