Add multilingual support (DE default, EN under /en/)

This commit is contained in:
chriz committed 2026-10-23 13:06:56 +02:00
1 parent 01ea3bd07a
commit 1e33c525f1
21 files changed
+855 -443

No files matched your search

+21 -14
View File
@@ -1,7 +1,10 @@
<h1>Unser Team</h1>
<?php
$isEn = (isset($lang) && $lang === 'en') || Helper::getLang() === 'en';
?>
<h1><?=$isEn ? 'Our Team' : 'Unser Team'?></h1>
<p class="lead" style="font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem;">
Lernen Sie unsere erfahrenen Fachärztinnen und unser engagiertes Pflegeteam kennen. Bei uns steht Ihre Gesundheit, Sicherheit und persönliche Betreuung im Mittelpunkt.
<?=$isEn ? 'Meet our experienced board-certified physicians and our dedicated nursing team. Your health, safety, and personal care are always our top priority.' : 'Lernen Sie unsere erfahrenen Fachärztinnen und unser engagiertes Pflegeteam kennen. Bei uns steht Ihre Gesundheit, Sicherheit und persönliche Betreuung im Mittelpunkt.'?>
</p>
<!-- Ärztinnen Grid -->
@@ -13,13 +16,13 @@
</div>
<div class="doctor-info">
<h2 class="doctor-name" style="margin-top: 0;">Dr. med. Bianca Bischoff</h2>
<div class="doctor-title">Fachärztin für Innere Medizin &amp; Nephrologie</div>
<div class="doctor-title"><?=$isEn ? 'Specialist in Internal Medicine &amp; Nephrology' : 'Fachärztin für Innere Medizin &amp; Nephrologie'?></div>
<div class="doctor-meta">
<div><strong>Approbation:</strong> 2002 in Berlin</div>
<div><strong><?=$isEn ? 'Medical License:' : 'Approbation:'?></strong> <?=$isEn ? '2002 in Berlin' : '2002 in Berlin'?></div>
</div>
<div class="chamber-badge">
<svg aria-hidden="true" focusable="false" style="width: 14px; height: 14px; fill: currentColor;" viewBox="0 0 24 24"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>
Mitglied der Ärztekammer Berlin
<?=$isEn ? 'Member of the Berlin Medical Association' : 'Mitglied der Ärztekammer Berlin'?>
</div>
</div>
</div>
@@ -31,13 +34,13 @@
</div>
<div class="doctor-info">
<h2 class="doctor-name" style="margin-top: 0;">Dr. med. Juliane Hoffzimmer</h2>
<div class="doctor-title">Fachärztin für Innere Medizin &amp; Nephrologie</div>
<div class="doctor-title"><?=$isEn ? 'Specialist in Internal Medicine &amp; Nephrology' : 'Fachärztin für Innere Medizin &amp; Nephrologie'?></div>
<div class="doctor-meta">
<div><strong>Approbation:</strong> 2009 in Berlin</div>
<div><strong><?=$isEn ? 'Medical License:' : 'Approbation:'?></strong> <?=$isEn ? '2009 in Berlin' : '2009 in Berlin'?></div>
</div>
<div class="chamber-badge">
<svg aria-hidden="true" focusable="false" style="width: 14px; height: 14px; fill: currentColor;" viewBox="0 0 24 24"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>
Mitglied der Ärztekammer Berlin
<?=$isEn ? 'Member of the Berlin Medical Association' : 'Mitglied der Ärztekammer Berlin'?>
</div>
</div>
</div>
@@ -49,13 +52,13 @@
</div>
<div class="doctor-info">
<h2 class="doctor-name" style="margin-top: 0;">Dr. med. Claudia Körner</h2>
<div class="doctor-title">Fachärztin für Innere Medizin</div>
<div class="doctor-title"><?=$isEn ? 'Specialist in Internal Medicine' : 'Fachärztin für Innere Medizin'?></div>
<div class="doctor-meta">
<div><strong>Approbation:</strong> 2004 in Berlin</div>
<div><strong><?=$isEn ? 'Medical License:' : 'Approbation:'?></strong> <?=$isEn ? '2004 in Berlin' : '2004 in Berlin'?></div>
</div>
<div class="chamber-badge">
<svg aria-hidden="true" focusable="false" style="width: 14px; height: 14px; fill: currentColor;" viewBox="0 0 24 24"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>
Mitglied der Ärztekammer Berlin
<?=$isEn ? 'Member of the Berlin Medical Association' : 'Mitglied der Ärztekammer Berlin'?>
</div>
</div>
</div>
@@ -69,11 +72,15 @@
</div>
<div style="flex: 1 1 200px; min-width: 0;">
<h2 style="margin: 0 0 0.5rem 0; font-size: 1.4rem; color: var(--primary-dark);">
23 Mitarbeiterinnen und Mitarbeiter
<?=$isEn ? '23 Nursing and Service Staff Members' : '23 Mitarbeiterinnen und Mitarbeiter'?>
</h2>
<p style="margin: 0; color: var(--text-main); font-size: 1rem; line-height: 1.5;">
Unser Team umfasst engagierte <strong>Schwestern, Arzthelferinnen und Servicekräfte</strong>, die rund um die Uhr für Ihr Wohlergehen, fachkundige Betreuung und einen angenehmen Aufenthalt während der Behandlung sorgen.
<?php if($isEn): ?>
Our team includes dedicated <strong>registered nurses, medical assistants, and service staff</strong> who look after your well-being, provide expert clinical care, and ensure a pleasant stay throughout your treatment.
<?php else: ?>
Unser Team umfasst engagierte <strong>Schwestern, Arzthelferinnen und Servicekräfte</strong>, die rund um die Uhr für Ihr Wohlergehen, fachkundige Betreuung und einen angenehmen Aufenthalt während der Behandlung sorgen.
<?php endif; ?>
</p>
</div>
</div>
</div>
</div>