Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
8 Dec 2025

Pull Request for Issue # .

Summary of Changes

This PR improves the initialiseApp() method in SiteApplication by extracting the language-detection logic into a separate method. The logic remains unchanged, but the code is cleaner, reduces nesting, and is easier to maintain.

Testing Instructions

  • Uses Joomla 6.1
  • Apply patch
  • Navigate to random pages from frontend of the site and make sure it is still working as before.

Actual result BEFORE applying this Pull Request

Works

Expected result AFTER applying this Pull Request

Works, with cleaner, easier to maintain code

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomdonation joomdonation - open - 8 Dec 2025
avatar joomdonation joomdonation - change - 8 Dec 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Dec 2025
Category Libraries
avatar joomdonation joomdonation - change - 8 Dec 2025
Title
Refactor SiteApplication language detection
[6.1]Refactor SiteApplication language detection
avatar joomdonation joomdonation - edited - 8 Dec 2025
avatar richard67 richard67 - change - 8 Dec 2025
Title
[6.1]Refactor SiteApplication language detection
[6.1] Refactor SiteApplication language detection
avatar richard67 richard67 - edited - 8 Dec 2025

Add a Comment

Login with GitHub to post a comment