feat(WEB-220): label translations

This commit is contained in:
Simon Emanuelsson
2024-05-22 10:27:16 +02:00
parent 125998efcf
commit de79c2dc80
80 changed files with 1104 additions and 460 deletions

12
i18n/Provider.tsx Normal file
View File

@@ -0,0 +1,12 @@
"use client"
import { IntlProvider } from "react-intl"
import type { ServerIntlProviderProps } from "@/types/i18n"
export default function ServerIntlProvider({
children,
intl,
}: ServerIntlProviderProps) {
return <IntlProvider {...intl}>{children}</IntlProvider>
}