Community AlphaAlpha MUADMINS
ITItaliano
Accedi
Su MuADMINSConfig ScannerCarica lo zip dei tuoi file: rates, drop, spot, limitiApriSu MuADMINSIncontraci su DiscordChiedi aiuto, condividi quello che stai creando e parla di MU con altri proprietari di server.Apri
← Tutte le soluzioni

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

✓ Confermato nella issue

Strumento: 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.

La persona che ha aperto la issue ha confermato che questo l'ha risolta.

Parole originali (Inglese)

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

Nella issue, 2024-12-27 (parole originali)
Ti è stato utile?

Non hai ancora risolto? Cerca su MuGPS Chiedi all'Assistente MU

MuADMINS Community Alpha: gratuito, fatto dalla community, in sviluppo attivo.