When looking at J5 extensions and how they handle language file linking, I find different approaches:
In Akeeba Backup, for example, I find:in Joomla 6alpha:Regularlabs:My questions are:
1) What is the best practice for linking language files?
In Akeeba Backup, for example, I find:
Code:
<files folder="frontend"><folder>language</folder><folder>src</folder></files><languages folder="frontend"><language tag="en-GB">language/en-GB/com_akeebabackup.ini</language></languages>
Code:
<languages><language tag="en-GB">language/en-GB/plg_finder_content.ini</language><language tag="en-GB">language/en-GB/plg_finder_content.sys.ini</language></languages>
Code:
<languages folder="language"><language tag="en-GB">en-GB/en-GB.pkg_regularlabs.sys.ini</language></languages>
1) What is the best practice for linking language files?
- <folder>language</folder>
- <language tag="en-GB">language/en-GB/plg_finder_content.ini</language>
- or both ways above
- en-GB.pkg_extension.ini
- pkg_extension.ini
Statistics: Posted by hekla — Fri Oct 25, 2024 2:04 pm