🛠 fix: Language detection

This commit is contained in:
Tomy Hsieh
2022-10-06 22:21:12 +08:00
parent 7d46de33d8
commit 905993d66e
6 changed files with 49 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ if(empty($targetLang)) {
}
// load master lang
$masterLang = file_get_contents(__DIR__.'/../data/web/lang/lang.en.json');
$masterLang = file_get_contents(__DIR__.'/../data/web/lang/lang.en-gb.json');
$masterLang = json_decode($masterLang, true);
// load target lang

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
MASTER="en"
MASTER="en-gb"
DIR = "#{__dir__}/.."