Skip to content

Commit

Permalink
feat: added Japanese translation (#10379)
Browse files Browse the repository at this point in the history
* feat: add Japanese language support

* feat: add missing required keys for Japanese translation
  • Loading branch information
hirotaka authored Dec 7, 2024
1 parent c247f5b commit 55f5ce4
Show file tree
Hide file tree
Showing 3 changed files with 2,812 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/admin/dashboard/src/i18n/languages.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { de, enUS, es, fr, it, pl, ptBR, th, tr } from "date-fns/locale"
import { de, enUS, es, fr, it, ja, pl, ptBR, th, tr } from "date-fns/locale"
import { Language } from "./types"

export const languages: Language[] = [
Expand Down Expand Up @@ -32,6 +32,12 @@ export const languages: Language[] = [
ltr: true,
date_locale: it,
},
{
code: "ja",
display_name: "日本語",
ltr: true,
date_locale: ja,
},
{
code: "pl",
display_name: "Polski",
Expand Down
4 changes: 4 additions & 0 deletions packages/admin/dashboard/src/i18n/translations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import en from "./en.json"
import es from "./es.json"
import fr from "./fr.json"
import it from "./it.json"
import ja from "./ja.json"
import pl from "./pl.json"
import ptBR from "./ptBR.json"
import th from "./th.json"
Expand All @@ -24,6 +25,9 @@ export default {
it: {
translation: it,
},
ja: {
translation: ja,
},
pl: {
translation: pl,
},
Expand Down
Loading

0 comments on commit 55f5ce4

Please sign in to comment.