Skip to content

Commit

Permalink
[admin] add support to arabic
Browse files Browse the repository at this point in the history
  • Loading branch information
gharbi-mohamed-dev committed Jan 19, 2025
1 parent 16be53a commit c350472
Show file tree
Hide file tree
Showing 3 changed files with 2,895 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, ja, pl, ptBR, th, tr, uk } from "date-fns/locale"
import { de, enUS, es, fr, it, ja, pl, ptBR, th, tr, uk, ar } from "date-fns/locale"
import { Language } from "./types"

export const languages: Language[] = [
Expand Down Expand Up @@ -68,4 +68,10 @@ export const languages: Language[] = [
ltr: true,
date_locale: uk,
},
{
code: "ar",
display_name: "العربية",
ltr: false,
date_locale: ar,
},
]
Loading

0 comments on commit c350472

Please sign in to comment.