Community AlphaAlpha MUADMINS
DEDeutsch
Anmelden
Auf MuADMINSConfig ScannerZip deiner Dateien hochladen: Rates, Drops, Spots, LimitsÖffnenAuf MuADMINSTriff uns auf DiscordFrag nach Hilfe, zeig, woran du arbeitest, und sprich mit anderen Serverbetreibern über MU.Öffnen
← Alle Lösungen

WebEngine CMS: official plugins always show the default language, not the language the visitor picked

✓ Im Issue bestätigt

Tool: WebEngine CMS 1.2.x

  1. The official plugins' loader.php loads languages/ + config('language_default', true) + /language.php, so the visitor's choice is ignored.
  2. In the plugin's loader.php take the session language first: $language = isset($_SESSION['language_display']) ? $_SESSION['language_display'] : config('language_default', true);
  3. Load languages/' . $language . '/language.php with that value, keeping the default language as the fallback.
  4. When you install a plugin, upload the contents of its __upload folder to the site root, not the folder itself, or the admin panel reports that plugin files are missing.

Die Person, die das Issue eröffnet hat, hat bestätigt, dass es damit behoben wurde.

Originalwortlaut (Englisch)

“I'll close this one since the initial problem is solved.”

Im Issue, 2024-12-27 (Originalwortlaut)
Hat das geholfen?

Kommst du immer noch nicht weiter? MuGPS durchsuchen Frag den MU-Assistenten

MuADMINS Community Alpha: kostenlos, von der Community gemacht, in aktiver Entwicklung.