Hello,
I use the Falang extension to manage the translations of jDownload categories and download descriptions. The two products work perfectly together and I can only recommend Falang for multilingual sites.
There is however one jDownloads table where no XML file for Falang seems to exist: jdownload_licences. I wrote the following XML file:
<?xml version="1.0" ?>
<falang type="contentelement">
<name>jDownloads Licenses</name>
<author></author>
<copyright></copyright>
<version>1.0</version>
<description>Definition for the jDownloads component (series 2.5/3.2+) - Licenses</description>
<reference>
<table name="jdownloads_licenses">
<field type="referenceid" name="id" translate="0">ID</field>
<field type="titletext" name="title" translate="1">Title</field>
<field type="text" name="alias" translate="1">Alias</field>
<field type="htmltext" name="description" translate="1">Description</field>
</table>
</reference>
</falang>
The translation can be done and is saved, but it does not show up in the frontend, only the default language.
Thank you for your help
Jean-Pierre
(jdownloads3.2.39)
Hi,
i must test this. Give me a day...
Hi,
The author of Falang identified and solved the problem :)
Line 165 of file com_jdownloads/models/summary.php, reading
$query->select('l.title AS license_title, l.url AS license_url, l.description AS license_text');
has to be replaced by
$query->select('l.title AS license_title, l.url AS license_url, l.description AS license_text, l.id as lid');
Jean-Pierre
Hi Jean-Pierre,
many thanks for this info.
But this line exist also in some other models. So i think we should change also this.