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:
Vincent Cottalorda
2024-11-27 12:47:28 +00:00
committed by GitHub
co-authored by Kasper Fabricius Kristensen
parent 2ed63b1534
commit 1b55f477a6
3 changed files with 2787 additions and 6 deletions
@@ -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"
export const languages: Language[] = [
@@ -20,6 +20,12 @@ export const languages: Language[] = [
ltr: true,
date_locale: de,
},
{
code: "fr",
display_name: "Français",
ltr: true,
date_locale: fr,
},
{
code: "pl",
display_name: "Polski",
File diff suppressed because it is too large Load Diff
@@ -1,20 +1,24 @@
import de from "./de.json"
import en from "./en.json"
import es from "./es.json"
import fr from "./fr.json"
import pl from "./pl.json"
import ptBR from "./ptBR.json"
import tr from "./tr.json"
import th from "./th.json"
export default {
de: {
translation: de,
},
en: {
translation: en,
},
es: {
translation: es,
},
de: {
translation: de,
fr: {
translation: fr,
},
pl: {
translation: pl,
@@ -22,10 +26,10 @@ export default {
ptBR: {
translation: ptBR,
},
tr: {
translation: tr,
},
th: {
translation: th,
},
tr: {
translation: tr,
},
}