diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-14 01:56:10 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-14 01:56:10 +0900 |
| commit | 79475f6856d757eb60389f54b2f028bd03c8e747 (patch) | |
| tree | 03dedd08baa12cb32d777a6978a1cf3bd6146d10 /src | |
| parent | :v: (diff) | |
| download | sharkey-79475f6856d757eb60389f54b2f028bd03c8e747.tar.gz sharkey-79475f6856d757eb60389f54b2f028bd03c8e747.tar.bz2 sharkey-79475f6856d757eb60389f54b2f028bd03c8e747.zip | |
set ja as default
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/boot.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/boot.js b/src/client/app/boot.js index ef828d9637..13abc86ad9 100644 --- a/src/client/app/boot.js +++ b/src/client/app/boot.js @@ -30,9 +30,9 @@ //#endregion // Detect the user language - // Note: The default language is English + // Note: The default language is Japanese let lang = navigator.language.split('-')[0]; - if (!/^(en|ja)$/.test(lang)) lang = 'en'; + if (!/^(en|ja)$/.test(lang)) lang = 'ja'; if (localStorage.getItem('lang')) lang = localStorage.getItem('lang'); if (ENV != 'production') lang = 'ja'; |