diff options
author | INOUE Daisuke <inoue.daisuke@gmail.com> | 2025-04-08 22:20:04 +0900 |
---|---|---|
committer | INOUE Daisuke <inoue.daisuke@gmail.com> | 2025-04-08 22:20:04 +0900 |
commit | b6c5301bef843eab1262faca8548df204908b663 (patch) | |
tree | 079488e69818472608180378a9765d3ba24ce86e /src/app.ts | |
parent | 1b57d9ea6513b81e538677f9ebf221d0c635f482 (diff) |
Add 'en-US', change preload language
Diffstat (limited to 'src/app.ts')
-rwxr-xr-x | src/app.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,8 +56,8 @@ async function initializeApp() { loadPath: path.join(getLocalesPath(), '{{lng}}.json'), }, fallbackLng: 'en', - preload: ['en', 'ja'], - supportedLngs: ['en', 'ja'], + preload: ['en-US', 'ja'], + supportedLngs: ['en','en-US', 'ja'], nonExplicitSupportedLngs: true, load: 'languageOnly', debug: true, |