feat: add full i18n support to Commandocentrum

- Replace all hardcoded Dutch/English strings with __() translation calls
- Update 13 Blade components to use translation keys
- Update Commandocentrum.php controller with translation calls
- Add comprehensive Dutch (nl.json) and English (en.json) translations
- 150+ translation keys for UI labels, messages, and notifications
- Supports all 21 languages available in the lang/ directory
This commit is contained in:
root
2026-05-19 21:49:39 +02:00
parent c6246615bc
commit 2f30a058a4
16 changed files with 585 additions and 3003 deletions
@@ -7,15 +7,15 @@
<div style="display:grid;grid-template-columns:repeat(2,1fr);gap:16px;">
<div style="background:#f8fafc;border-radius:12px;padding:16px;border:1px solid #e2e8f0;">
<div style="font-size:12px;color:#64748b;margin-bottom:4px;">Versie</div>
<div style="font-size:12px;color:#64748b;margin-bottom:4px;">{{ __('commandocentrum.version') }}</div>
<div style="font-size:20px;font-weight:700;color:#1e293b;">{{ $version }}</div>
</div>
<div style="background:#f8fafc;border-radius:12px;padding:16px;border:1px solid #e2e8f0;">
<div style="font-size:12px;color:#64748b;margin-bottom:4px;">Service</div>
<div style="font-size:12px;color:#64748b;margin-bottom:4px;">{{ __('commandocentrum.service') }}</div>
<div style="font-size:20px;font-weight:700;color:#1e293b;">{{ $serviceName }}</div>
</div>
<div style="background:{{ $color }}15;border-radius:12px;padding:16px;border:1px solid {{ $color }}30;grid-column:span 2;">
<div style="font-size:12px;color:#64748b;margin-bottom:4px;">Status</div>
<div style="font-size:12px;color:#64748b;margin-bottom:4px;">{{ __('commandocentrum.status') }}</div>
<div style="font-size:24px;font-weight:700;color:{{ $color }};"> {{ $status }}</div>
</div>
</div>