French translation V2 (#10301)
This PR improves the French translations already submitted. - Corrected missing translations. - Ensured the JSON structure matches the English version. - Verified consistency across all keys. The file is very large and it's hard to make sure everything is right. The previous Similar PR is [Add french trad in i18n translations #9885](https://github.com/medusajs/medusa/pull/9885) Let me know if additional changes are needed! Happy to help :) Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
This commit is contained in:
co-authored by
Kasper Fabricius Kristensen
parent
2ed63b1534
commit
1b55f477a6
@@ -1,4 +1,4 @@
|
|||||||
import { de, enUS, es, pl, ptBR, tr, th } from "date-fns/locale"
|
import { de, enUS, es, fr, pl, ptBR, th, tr } from "date-fns/locale"
|
||||||
import { Language } from "./types"
|
import { Language } from "./types"
|
||||||
|
|
||||||
export const languages: Language[] = [
|
export const languages: Language[] = [
|
||||||
@@ -20,6 +20,12 @@ export const languages: Language[] = [
|
|||||||
ltr: true,
|
ltr: true,
|
||||||
date_locale: de,
|
date_locale: de,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
code: "fr",
|
||||||
|
display_name: "Français",
|
||||||
|
ltr: true,
|
||||||
|
date_locale: fr,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
code: "pl",
|
code: "pl",
|
||||||
display_name: "Polski",
|
display_name: "Polski",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,20 +1,24 @@
|
|||||||
import de from "./de.json"
|
import de from "./de.json"
|
||||||
import en from "./en.json"
|
import en from "./en.json"
|
||||||
import es from "./es.json"
|
import es from "./es.json"
|
||||||
|
import fr from "./fr.json"
|
||||||
import pl from "./pl.json"
|
import pl from "./pl.json"
|
||||||
import ptBR from "./ptBR.json"
|
import ptBR from "./ptBR.json"
|
||||||
import tr from "./tr.json"
|
import tr from "./tr.json"
|
||||||
import th from "./th.json"
|
import th from "./th.json"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
de: {
|
||||||
|
translation: de,
|
||||||
|
},
|
||||||
en: {
|
en: {
|
||||||
translation: en,
|
translation: en,
|
||||||
},
|
},
|
||||||
es: {
|
es: {
|
||||||
translation: es,
|
translation: es,
|
||||||
},
|
},
|
||||||
de: {
|
fr: {
|
||||||
translation: de,
|
translation: fr,
|
||||||
},
|
},
|
||||||
pl: {
|
pl: {
|
||||||
translation: pl,
|
translation: pl,
|
||||||
@@ -22,10 +26,10 @@ export default {
|
|||||||
ptBR: {
|
ptBR: {
|
||||||
translation: ptBR,
|
translation: ptBR,
|
||||||
},
|
},
|
||||||
tr: {
|
|
||||||
translation: tr,
|
|
||||||
},
|
|
||||||
th: {
|
th: {
|
||||||
translation: th,
|
translation: th,
|
||||||
},
|
},
|
||||||
|
tr: {
|
||||||
|
translation: tr,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user