fix admin language options

Remove the Spanish and Dutch translation files and limit the admin language selector to German and English.
This commit is contained in:
2026-11-24 10:34:41 +01:00
parent 3160f377d1
commit 67c94b6a5d
3 changed files with 1 additions and 297 deletions
@@ -39,7 +39,7 @@ $settingIns = phpb_instance('setting');
</label>
<select class="select select-bordered w-full" id="admin_language" name="admin_language" title="<?= phpb_trans('website-manager.languages-selector-placeholder') ?>" required>
<?php
$beLanguages = ['de', 'en', 'es', 'nl'];
$beLanguages = ['de', 'en'];
foreach ($beLanguages as $locale):
?>
<option value="<?= phpb_e($locale) ?>" <?= phpb_e(phpb_config('general.language') === $locale ? 'selected' : '') ?>><?= phpb_e(phpb_trans('languages.'.$locale)) ?></option>