feat(i18n): German translation (#808)
This commit is contained in:
parent
e58c217de1
commit
b061b1b6a2
2 changed files with 67 additions and 0 deletions
|
@ -1,10 +1,12 @@
|
|||
import { Translation } from "./locales/definition"
|
||||
import en from "./locales/en-US"
|
||||
import fr from "./locales/fr-FR"
|
||||
import de from "./locales/de-DE"
|
||||
|
||||
export const TRANSLATIONS = {
|
||||
"en-US": en,
|
||||
"fr-FR": fr,
|
||||
"de-DE": de,
|
||||
} as const
|
||||
|
||||
export const i18n = (locale: ValidLocale): Translation => TRANSLATIONS[locale]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue