Skip to content

Commit

Permalink
feat: Add Turkish Language (#10109)
Browse files Browse the repository at this point in the history
Turkish translation added.
  • Loading branch information
ertyurk authored Nov 15, 2024
1 parent b0c6efa commit 1d88ad3
Show file tree
Hide file tree
Showing 3 changed files with 2,766 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, pl } from "date-fns/locale"
import { de, enUS, pl, tr } from "date-fns/locale"
import { Language } from "./types"

export const languages: Language[] = [
Expand All @@ -20,4 +20,10 @@ export const languages: Language[] = [
ltr: true,
date_locale: pl,
},
{
code: "tr",
display_name: "Türkçe",
ltr: true,
date_locale: tr,
},
]
4 changes: 4 additions & 0 deletions packages/admin/dashboard/src/i18n/translations/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import de from "./de.json"
import en from "./en.json"
import pl from "./pl.json"
import tr from "./tr.json"

export default {
en: {
Expand All @@ -12,4 +13,7 @@ export default {
pl: {
translation: pl,
},
tr: {
translation: tr,
},
}
Loading

0 comments on commit 1d88ad3

Please sign in to comment.