Create a child template from Cassiopeia
cassiopeia_mychildtemplate
(a) If the language files tpl_cassiopeia_mychildtemplate.ini and tpl_cassiopeia_mychildtemplate.sys.ini are created and left blank I expected the text from tpl_cassiopeia.ini and tpl_cassiopeia.sys.ini to be used. I.E. the cassioperia text will be used by default, the child being able to overwrite / add more as needed.
(b) I expected to be able to place language files in templates/cassiopeia_mychildtemplate/language/en-GB folder. This being consistent with elsewhere where you can use either modules/mod_mymodule/language/en-GB/mod_mymodule.ini or language/en-GB/mod_mymodule.ini
(c) I expected to be able to translate the template name (cassiopeia_mychildtemplate) in the templateDetails.xml file with text in cassiopeia_mychildtemplate.sys.ini.
(a) Have to duplicate all the cassiopeia text in the child language files. This will cause problems later when extra parameters / more text added to cassioperia - I would expect the child to inherit everything by default.
(b) Language files in templates/cassiopeia_mychildtemplate/language/en-GB folder are ignored.
(c) There appears to be no translation for the template name.
Joomla 4.2.0
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Overlaps. This gives more detail of what needs to be investigated.
Agreed. Maintainers please close the other issue and link it here
Please.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-08-24 08:54:51 |
Closed_By | ⇒ | alikon |
Item (a) - Not leave tpl_cassiopeia_mychildtemplate.ini blank but put a single line in it ...
TPL_CASSIOPEIA_XML_DESCRIPTION="Cassiopeia child template for my site."
Can of course change TPL_CASSIOPEIA to TPL_CASSIOPEIA_MYCHILDTEMPLATE in both the .ini and .xml files, but that is not significant to this issue.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38568.