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

Language dictionaries other than common.php are unavailable to BBCode templates in feeds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.2-RC1
    • 3.2.9, 3.3.0
    • Other

      If a BBCode template uses language keys that don’t come from common.php (e.g. L_QUOTE which is in viewtopic.php), those keys will not be available, even if the dictionaries are added in the feed controller, because phpbb\textformatter\s9e\renderer::configure_user is called by the DI system before it’s possible for anything to add more dictionaries. (The default feed controllers also fail to add dictionaries that they need, but this is tracked in PHPBB3-16365.)

      phpbb\feed\helper::generate_content already makes calls to reconfigure the other parts of the renderer; it simply needs to call configure_user too.

            Marc Marc
            Snover Snover [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: