Hi,
Thanks for the jDownload extension, works good on Joomla version 3.3.6.
But, I have certain issue/bug, that this extension seems to be not working good with multi-language Joomla site.
FYI, I have installed ID (Indonesian) language pack for jDownloads, but still I have to add and edit the language file in ../language/.. "en-EN.com_jdownloads.ini" to "id-ID.com_jdownloads.ini" manually.
Back to the issue, my site has 2 different languages, English and Indonesian version.
I created the Download menu for the Indonesia site, eg:
http://localhost/id/media-publik/download
Menu item type: List All Categories - jDownloads
Everything works good.
Category Sample link: http://localhost/id/media-publik/download/category/2-category-sample-id
But, when I tried to create other menu for the English site, eg:
http://localhost/en/public-media/download
Menu item type: List All Categories - jDownloads
The all element links go to "http://localhost/en/media-publik/download"
Category Sample link: http://localhost/en/media-publik/download/category/3-category-sample-en
The sub directory link above contains "media-publik", which is a wrong link. The download sub directory link should goes to "public-media" like this:
Category Sample link: http://localhost/en/public-media/download/category/3-category-sample-en
# Note:
- I have tried to create new Layout (for Categories) and set each of the layout for both Indonesian and English. But, still not working.
- Each of the files has been set to its language (ID or english UK).
And also, in the Category drop down menu, it seems jDownload not filtered the language properly for the category. The category which is set to Indonesia lang, is shown on English download menu, and vice versa.
Please assist me on this. Thank you.
# Update:
- For temporary solution, to overcome the URL link problem, I created the htaccess rule for this case.
RewriteRule ^/?en/media-publik/(.*)$ /en/public-media/$1 [R,L]
For anyone who also got the same problem using jDownload in multi-language Joomla site, can use the htaccess rule above.
Still waiting respond from the developer.
Regards,
Frans
Same problem as above... I try but I can't find where the trouble generating link is in the code...
where do you put your RewriteRule? in the htaccess on the root?
Many thanks
Roberto
@Roberto:
Yes, right.
Join/insert the rule above along with the other rules in the .htaccess file (under Joomla web root directory).
eg:
......
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
Options -Indexes
## Mod_rewrite in use.
RewriteEngine On
RewriteRule ^/?en/media-publik/(.*)$ /en/public-media/$1 [R,L]
......
thanks!
I will try it... ;)