I’m trying to follow the instructions
here, but they seem to be out of date or at least, the latest files don’t match what’s described.
The instructions say to edit
/administrator/components/com_booklibrary/booklibrary_j3.xml and add line for your language after the one containing
language/english.php, but this file doesn’t reference
english.php at all!
There are two locations in the file that refer to languages and both use the same format:
Code: |
<languages folder="../language">
<language tag="en-GB">en-GB/en-GB.com_booklibrary.sys.ini</language>
</languages>
|
This appears as a <languages> node by itself and then again as a sub-node of <administration>
I’ve copied the English ini file to
/language/--langcode--/--langcode--.com_booklibrary.sys.ini and added it to
booklibrary_j3.xml instead of Step 2.
Step 3 says “To ensure the languages you use are visible inside the dropdown boxes in the administration part for selecting, you will need to add the language entries to every language file in use in your installation. In each language file, find the part marked //Languages and add your language there.”
This is so ambiguous I have no idea what it’s supposed to mean. Which files? The downloadable language files only contain
<language-name>.php files. What other files need to be edited?
/components/com_booklibrary/language/constant.php ?