Update legal documents and localization for compliance and clarity

- Updated .env.example with legal operator details for compliance.
- Refactored Impressum, Privacy, and Terms pages to utilize a new LegalDocument component for improved structure and maintainability.
- Enhanced localization files to include legal content in both German and English, ensuring accurate representation of legal information.
- Improved i18n handling to support locale detection from Accept-Language headers.
This commit is contained in:
TheOnlyMace
2026-07-22 19:18:28 +02:00
parent 8c02b95934
commit bda5c116fe
21 changed files with 1700 additions and 240 deletions

View File

@@ -0,0 +1,9 @@
<?php
declare(strict_types=1);
require __DIR__ . '/includes/bootstrap.php';
require __DIR__ . '/includes/layout.php';
$locale = detect_locale();
$messages = load_messages($locale);
render_legal_page($config, $messages, $locale, 'impressum');