Sub-Issue A von #71 (Multi-Language Epic) - Milestone Multi-Language MVP
Technische Grundlage fuer Uebersetzungen. Keine UI-Aenderungen, nur Infrastruktur. B, C, D, E, F bauen auf A auf.
app/Locales/
de.php
uk.php
ru.php
en.php
$GLOBALS['__locale'] = [ ... ]
app/Helpers/i18n.php
t(string $key, ?array $vars = null): string
t()
current_locale(): string
set_locale(string $locale): void
haus-schleusingen.html
<html lang="<?= current_locale() ?>">
og:locale
t("haus.titel")
No dependencies set.
The note is not visible to the blocked user.
Parent
Sub-Issue A von #71 (Multi-Language Epic) - Milestone Multi-Language MVP
Ziel
Technische Grundlage fuer Uebersetzungen. Keine UI-Aenderungen, nur Infrastruktur. B, C, D, E, F bauen auf A auf.
Akzeptanzkriterien
app/Locales/mit 4 Dateien:de.php,uk.php,ru.php,en.php$GLOBALS['__locale'] = [ ... ]app/Helpers/i18n.phpmitt(string $key, ?array $vars = null): stringt()faellt auf DE zurueck bei fehlendem Key (kein Notice/Warning)current_locale(): stringundset_locale(string $locale): voidhaus-schleusingen.htmlrendert<html lang="<?= current_locale() ?>">og:localereagiert auf Locale (Placeholder, echte Texte in C)t("haus.titel")aus jeder Datei liefert non-empty StringDoR
Out-of-Scope
Abhaengigkeiten