Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12875

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 3.1.0-dev, 3.1.0-RC2
    • 3.1.0-RC3
    • ACP, Extensions
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: