Implement multilingual support in footer and add legal pages

This commit is contained in:
Adrian Altner 2026-04-21 02:37:13 +02:00
parent 7bd0905ecf
commit 2975984104
12 changed files with 719 additions and 8 deletions

View file

@ -19,6 +19,9 @@ export const ui = {
'tags.description': 'Alle Schlagwörter im Überblick.',
'tag.postsTagged': 'Beiträge mit',
'tag.noPosts': 'Noch keine Beiträge mit diesem Stichwort.',
'footer.contact': 'Kontakt',
'footer.imprint': 'Impressum',
'footer.privacy': 'Datenschutz',
'lang.de': 'Deutsch',
'lang.en': 'English',
},
@ -40,6 +43,9 @@ export const ui = {
'tags.description': 'All tags at a glance.',
'tag.postsTagged': 'Posts tagged',
'tag.noPosts': 'No posts with this tag yet.',
'footer.contact': 'Contact',
'footer.imprint': 'Imprint',
'footer.privacy': 'Privacy',
'lang.de': 'Deutsch',
'lang.en': 'English',
},
@ -82,6 +88,9 @@ const LOCALIZED_SEGMENTS: Record<Locale, Record<string, string>> = {
about: 'ueber-mich',
tag: 'schlagwort',
tags: 'schlagwoerter',
contact: 'kontakt',
imprint: 'impressum',
'privacy-policy': 'datenschutz',
},
en: {
kategorie: 'category',
@ -89,6 +98,9 @@ const LOCALIZED_SEGMENTS: Record<Locale, Record<string, string>> = {
'ueber-mich': 'about',
schlagwort: 'tag',
schlagwoerter: 'tags',
kontakt: 'contact',
impressum: 'imprint',
datenschutz: 'privacy-policy',
},
};