一時的に日本語のみに
This commit is contained in:
parent
05b4459919
commit
0537a17204
1 changed files with 5 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue