Skip to content

Commit 9bdc51a

Browse files
committed
feat(i18n): add Japanese language
1 parent dbf3bcf commit 9bdc51a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

apps/server/src/services/i18n.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ const DAYJS_LOADER: Record<LOCALE_IDS, () => Promise<typeof import("dayjs/locale
1919
"ku": () => import("dayjs/locale/ku.js"),
2020
"ro": () => import("dayjs/locale/ro.js"),
2121
"ru": () => import("dayjs/locale/ru.js"),
22-
"tw": () => import("dayjs/locale/zh-tw.js")
22+
"tw": () => import("dayjs/locale/zh-tw.js"),
23+
"ja": () => import("dayjs/locale/ja.js")
2324
}
2425

2526
export async function initializeTranslations() {

packages/commons/src/lib/i18n.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ const UNSORTED_LOCALES: Locale[] = [
5050
name: "Русский",
5151
electronLocale: "ru"
5252
},
53+
{
54+
id: "ja",
55+
name: "日本語",
56+
electronLocale: "ja"
57+
},
5358

5459
/*
5560
* Right to left languages

0 commit comments

Comments
 (0)