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 and hirotaka committed Dec 7, 2024
1 parent 23e8a09 commit 50553ae
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, ja, 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 @@ -26,6 +26,12 @@ export const languages: Language[] = [
ltr: true,
date_locale: fr,
},
{
code: "it",
display_name: "Italiano",
ltr: true,
date_locale: it,
},
{
code: "ja",
display_name: "日本語",
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 ja from "./ja.json"
import pl from "./pl.json"
import ptBR from "./ptBR.json"
Expand All @@ -21,6 +22,9 @@ export default {
fr: {
translation: fr,
},
it: {
translation: it,
},
ja: {
translation: ja,
},
Expand Down
Loading

0 comments on commit 50553ae

Please sign in to comment.