Note that you don't need the <languages>
element, it is a Joomla 1.5 relic according to the documentation. It is important to keep the subdirectories and the naming convention. ln-LN/ln-LN.com_example.sys.ini
. The manifest uses the *.sys.ini
file for translations. I guess the other ini file is used by the running component.
So my manifest file looks like this:
<extension type="component" version="3.4" method="upgrade">
<name>example</name>
<libraryname>COM_EXAMPLE_TITLE</libraryname>
<creationDate>January 2017</creationDate>
<author>inf3rno</author>
<authorEmail>[email protected]</authorEmail>
<license>MIT</license>
<version>0.0.9</version>
<description>COM_EXAMPLE_DESCRIPTION</description>
<scriptfile>installer.php</scriptfile>
<files>
<filename>example.php</filename>
<folder>views</folder>
<folder>src</folder>
<folder>media</folder>
<folder>language</folder>
</files>
<administration>
<menu>COM_EXAMPLE_TITLE</menu>
<files>
<filename>example.php</filename>
<folder>src</folder>
<folder>media</folder>
<folder>language</folder>
</files>
</administration>
</extension>
and I put the language files to subfolders.