feat(i18n): Ajoute traductions et internationalisation pour pages légales.

Ajoute le support multilingue pour les pages légales (RGPD, CGU,
CGV, Mentions Légales, Cookies, Hébergement) et la page À propos,
incluant les traductions en français et en anglais. Désactive
aussi le sitemap pour les pages home et about.
This commit is contained in:
Serreau Jovann
2025-11-16 21:57:24 +01:00
parent 282fc56603
commit a9feb0c2f8
17 changed files with 1545 additions and 312 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

@@ -1,21 +1,10 @@
<?php
ini_set('memory_limit', '-1');
use App\Kernel;
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
return function (array $context) {
if($_ENV['APP_ENV'] == "prod") {
\Sentry\init([
'dsn' => $_ENV['SENTRY_DSN'],
// Specify a fixed sample rate
'traces_sample_rate' => 1.0,
// Set a sampling rate for profiling - this is relative to traces_sample_rate
'profiles_sample_rate' => 1.0,
// Enable logs to be sent to Sentry
'enable_logs' => true,
]);
}
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};