PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
22 Oct 2025

Pull Request for Issue # .

Summary of Changes

Testing Instructions

  • create a child template of cassiopeia
  • copy the language file
  • remove all the content of the language file in the child template
  • copy the index.php from the cassiopeia to the child template
  • add somewhere <?= Text::_('TPL_CASSIOPEIA_BACKTOTOP'); ?>

Without the PR will get TPL_CASSIOPEIA_BACKTOTOP with the PR will get Back to Top

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

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 dgrammatiko dgrammatiko - open - 22 Oct 2025
avatar dgrammatiko dgrammatiko - change - 22 Oct 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Oct 2025
Category Libraries
avatar HLeithner
HLeithner - comment - 22 Oct 2025

please simplify the if statements, the else is not needed and maybe you find out why we load the language files twice?

avatar dgrammatiko dgrammatiko - change - 22 Oct 2025
Labels Added: PR-6.0-dev
avatar dgrammatiko
dgrammatiko - comment - 22 Oct 2025

maybe you find out why we load the language files twice

Probably has to do with the other document types (the HtmlDocument class is loading the language files I have to check the other ones)

avatar RickR2H
RickR2H - comment - 14 Nov 2025

@dgrammatiko could you please add some test instructions?

avatar dgrammatiko dgrammatiko - change - 15 Nov 2025
Title
[6.0] Child templates language override
[6.0] Child templates extend language instead of override
avatar dgrammatiko dgrammatiko - edited - 15 Nov 2025
avatar dgrammatiko dgrammatiko - change - 15 Nov 2025
The description was changed
avatar dgrammatiko dgrammatiko - edited - 15 Nov 2025

Add a Comment

Login with GitHub to post a comment