Add French translation (#196)

* Added french version and title/description from json messages

* Revert back default language to en-US

* Code reviewed with prettier :)

* Updated json to add information field

* Updated json to add information block (missed on previous)

* Reviewed code language

* correction traduction "groupes étoilés" en "groupes favoris"

---------

Co-authored-by: Andy Trouvé <andy@strekol.eu>
This commit is contained in:
Strekol
2024-09-28 23:56:55 +02:00
committed by GitHub
parent 5dfe03b3f1
commit 07e24f7fcb
5 changed files with 424 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
import { getRequestConfig } from 'next-intl/server'
import { getUserLocale } from './lib/locale'
export const locales = ['en-US', 'fi'] as const
export const locales = ['en-US', 'fi', 'fr-FR'] as const
export type Locale = (typeof locales)[number]
export type Locales = ReadonlyArray<Locale>
export const defaultLocale: Locale = 'en-US'