♻️ Add header translations

This commit is contained in:
Meier Lukas
2023-08-05 16:02:26 +02:00
parent 04b3fa394d
commit 889853961d
5 changed files with 57 additions and 23 deletions

View File

@@ -10,7 +10,7 @@ export const getServerSideTranslations = async (
req?: IncomingMessage,
res?: ServerResponse
) => {
namespaces = namespaces.concat(['common', 'zod']);
namespaces = namespaces.concat(['common', 'zod', 'layout/header', 'layout/modals/about']);
if (!req || !res) {
return serverSideTranslations(requestLocale ?? 'en', namespaces);