Skip to content

Commit

Permalink
feat: added Italian translations (medusajs#10362)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoSan19 authored Dec 2, 2024
1 parent 1288496 commit 56e9acb
Show file tree
Hide file tree
Showing 3 changed files with 2,785 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, pl, ptBR, th, tr } from "date-fns/locale"
import { de, enUS, es, fr, it, pl, ptBR, th, tr } from "date-fns/locale"
import { Language } from "./types"

export const languages: Language[] = [
Expand Down Expand Up @@ -26,6 +26,12 @@ export const languages: Language[] = [
ltr: true,
date_locale: fr,
},
{
code: "it",
display_name: "Italiano",
ltr: true,
date_locale: it,
},
{
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 @@ -2,6 +2,7 @@ import de from "./de.json"
import en from "./en.json"
import es from "./es.json"
import fr from "./fr.json"
import it from "./it.json"
import pl from "./pl.json"
import ptBR from "./ptBR.json"
import tr from "./tr.json"
Expand All @@ -20,6 +21,9 @@ export default {
fr: {
translation: fr,
},
it: {
translation: it,
},
pl: {
translation: pl,
},
Expand Down
Loading

0 comments on commit 56e9acb

Please sign in to comment.