Community AlphaAlpha MUADMINS
FILFilipino
Mag-sign in
Sa MuADMINSConfig ScannerI-upload ang zip ng mga file mo: rate, drop, spot, limitBuksanSa MuADMINSMakipagkita sa amin sa DiscordHumingi ng tulong, ibahagi ang ginagawa mo at makipag-usap tungkol sa MU sa ibang may-ari ng server.Buksan
← Lahat ng solusyon

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

✓ Kinumpirma sa issue

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.

Kinumpirma ng taong nagbukas ng issue na naayos nito ang problema.

Orihinal na salita (Ingles)

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

Sa issue, 2024-12-27 (orihinal na salita)
Nakatulong ba ito?

Naipit pa rin? Maghanap sa MuGPS Magtanong sa MU Assistant

MuADMINS Community Alpha: libre, gawa ng komunidad, at patuloy na dine-develop.