From 00f26929189d9d64a7333f2633dc1a52635b9f3a Mon Sep 17 00:00:00 2001 From: tykayn <15d65f2f-0b14-4f70-bf34-e130180ed62b@users.tedomum.net> Date: Thu, 17 Dec 2020 12:06:47 +0100 Subject: [PATCH] add other langs files BZ OC :alien: --- config/i18n.ts | 8 +++++--- config/locales/bz.json | 4 ++++ config/locales/en.json | 3 ++- config/locales/fr.json | 3 ++- config/locales/oc.json | 4 ++++ 5 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 config/locales/bz.json create mode 100644 config/locales/oc.json diff --git a/config/i18n.ts b/config/i18n.ts index cf9669d..f431167 100644 --- a/config/i18n.ts +++ b/config/i18n.ts @@ -1,8 +1,10 @@ import en from './locales/en.json' +import bz from './locales/bz.json' import fr from './locales/fr.json' +import oc from './locales/oc.json' export default { - locale: 'en', - fallbackLocale: 'en', - messages: { en, fr }, + locale: 'fr', + fallbackLocale: 'fr', + messages: { bz, en, fr, oc }, } diff --git a/config/locales/bz.json b/config/locales/bz.json new file mode 100644 index 0000000..dcd5155 --- /dev/null +++ b/config/locales/bz.json @@ -0,0 +1,4 @@ +{ + "locale_descritption": "Brezhoneg", + "message": "Bonjour en Breton!" +} diff --git a/config/locales/en.json b/config/locales/en.json index 36de2b3..291e2f6 100644 --- a/config/locales/en.json +++ b/config/locales/en.json @@ -1,3 +1,4 @@ { - "message": "hello!" + "locale_descritption": "English", + "message": "Hello in English!" } diff --git a/config/locales/fr.json b/config/locales/fr.json index 8154b3c..5a36f33 100644 --- a/config/locales/fr.json +++ b/config/locales/fr.json @@ -1,3 +1,4 @@ { - "message": "bonjour!" + "locale_descritption": "Français", + "message": "Bonjour en Français!" } diff --git a/config/locales/oc.json b/config/locales/oc.json new file mode 100644 index 0000000..4c5e20b --- /dev/null +++ b/config/locales/oc.json @@ -0,0 +1,4 @@ +{ + "locale_descritption": "Occitan", + "message": "bonjour en occitan!" +}