Skip to content
Snippets Groups Projects
Commit 79475f68 authored by syuilo's avatar syuilo
Browse files

set ja as default

parent ec6300f5
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment