Community AlphaAlpha MUADMINS
PTPortuguês (Brasil)
Entrar
No MuADMINSConfig ScannerEnvie o zip dos seus arquivos: rates, drops, spots, limitesAbrirNo MuADMINSEncontre-nos no DiscordPeça ajuda, mostre o que está criando e converse sobre MU com outros donos de servidores.Abrir
← Todas as soluções

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

✓ Confirmado na issue

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

A pessoa que abriu o issue confirmou que isso resolveu.

Palavras originais (Inglês)

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

Na issue, 2024-12-27 (palavras originais)
Isso ajudou?

Ainda com problema? Buscar no MuGPS Pergunte ao Assistente MU

MuADMINS Community Alpha: grátis, feito pela comunidade e em desenvolvimento ativo.