Implement dynamic language system with automatic detection

- Add getAvailableLanguages() method to scan lang directory automatically
- Add getNativeLanguageName() method for proper language display names
- Enhance SimpleTemplate engine to support array iteration with {{#array}} syntax
- Update header template to use dynamic language dropdown with native names
- Add German (de.php) and French (fr.php) language files as examples
- Fix search input text color to use black text for better visibility
- Languages now appear automatically when added to engine/lang/ without code changes
This commit is contained in:
2025-11-22 21:06:50 +01:00
parent 26f382c41d
commit 25769cef24
8 changed files with 657 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long