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
avatar exlemor
exlemor - comment - 7 Dec 2025

Hi @dgrammatiko,

I have tried following the Testing Instructions to the letter so either it's not working, or I misunderstood something or there's a step missing?

Image shows the folder/file structure with Child Template for PR46353, index.php copied and Language Folders en-GB and fr-FR emptied
ScreenFloat Shot of ForkLift on 2025-12-07 at 14-00-26

Image shows Child Template for PR46353 selected (wasn't mentioned in Testing Instructions but assumed that was needed)
ScreenFloat Shot of Safari on 2025-12-07 at 13-58-01

PR NOT Applied, yet Back to Top showing and not TPL_CASSIOPEIA_BACKTOTOP
ScreenFloat Shot of Safari on 2025-12-07 at 13-57-40

HELP? ;)

avatar dgrammatiko
dgrammatiko - comment - 7 Dec 2025

You shouldn’t empty the folders but the files (.ini). Ie files should exist but with no content

avatar exlemor
exlemor - comment - 7 Dec 2025

You shouldn’t empty the folders but the files (.ini). Ie files should exist but with no content

Ah, ok. Let me try that - thanks. That's a lot of files to empty lol, on it.

Thankfully, a bit of command line magic will do that trick:

for file in *.ini; do > "$file"; done

avatar exlemor
exlemor - comment - 7 Dec 2025

Unfortunately, @dgrammatiko, even after emptying the .ini files (while keeping them there), and NOT applying the PR, I still get Back to Top vs TPL_CASSIOPEIA_BACKTOTOP

Image showing .ini files present but 0 bytes...
ScreenFloat Shot of ForkLift on 2025-12-07 at 14-28-39
(the rest of the .ini files in that folder are 0 bytes also as well as the .ini files in /fr-FR/ folder for other language on multi-lingual test site).

avatar Bodge-IT
Bodge-IT - comment - 10 Dec 2025

@dgrammatiko could you please update your instructions to make the steps clearer? That should help with tests.

avatar dgrammatiko
dgrammatiko - comment - 10 Dec 2025

Will try to do it after work

Add a Comment

Login with GitHub to post a comment