Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12875

Extension's info_acp_lang files don't fallback correctly when the user's language is not included in the extension

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-RC3
    • 3.1.0-dev, 3.1.0-RC2
    • ACP, Extensions
    • None

      When viewing the ACP in a non-default, user selected language, an Extension will NOT fall back to the board's default lang or English. Instead, the raw lang vars are displayed. This only appears to happen with extensions that are relying on phpBB's auto-inclusion of info_acp_lang files for the ACP (loaded by the add_mod_info function).

      Language behavior is as expected for extensions in the ACP only if they are using the core.user_setup event or the add_lang_ext() methods.

      It also appears that if the extension is using an ACP module, the names of the modules and its modes display as raw lang vars too, and they only work as expected when using the core.user_setup event to load the info_acp_lang file.

            nickvergessen Joas Schilling
            VSE Matt Friedman [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: