No Code Attached Yet
avatar HLeithner
HLeithner
18 Dec 2023

Steps to reproduce the issue

  • Create a language file in parent template with entries
  • Create a language file in child template with the same entries different content
  • output the language strings

Expected result

  • child template has the child translations

Actual result

  • child template has the parent translations

System information (as much as possible)

Additional comments

avatar HLeithner HLeithner - open - 18 Dec 2023
avatar joomla-cms-bot joomla-cms-bot - change - 18 Dec 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Dec 2023
avatar brianteeman
brianteeman - comment - 18 Dec 2023
  1. which folder are you creating the language file in
  2. what is the filename of the child language file
  3. if you enable language debug does it show both language files
avatar brianteeman
brianteeman - comment - 18 Dec 2023

I am unable to replicate the error. I have tested with a language file in the main languages/en-GB/tpl_cassiopeia_lang.ini folder and in templates\cassiopeia_lang\language\en-gb\tpl_cassiopeia_lang.ini

avatar HLeithner
HLeithner - comment - 18 Dec 2023

true file is loaded if you name it correctly, but the order is wrong, the parent template overrides the content of the child template.

avatar brianteeman
brianteeman - comment - 18 Dec 2023

Can not confirm

avatar HLeithner
HLeithner - comment - 18 Dec 2023

strange, in the de debuglist ist the child template file above the parent template file in the list?

avatar brianteeman
brianteeman - comment - 18 Dec 2023

image

avatar HLeithner HLeithner - change - 18 Dec 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-12-18 10:07:33
Closed_By HLeithner
avatar HLeithner HLeithner - close - 18 Dec 2023
avatar HLeithner
HLeithner - comment - 18 Dec 2023

interesting my ordering is different... also I have com_content between child and parent, I will have a look where the problem happens. Closing this for now.

Add a Comment

Login with GitHub to post a comment