jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: HerKle on 28.02.2017 11:18:38

Title: How to show different language for a single download?
Post by: HerKle on 28.02.2017 11:18:38
The main language of our site is German. Since we have some information available in foreign languages, we offer these to download as well. We do not use multi-language installations of Joomla, since our foreign information is very rare, compared with the entire website. Still, we want all text be written in the foreign language chosen, also the jDownload system messages eg. the "New" button and the information "Uploaded by" etc. How can we do this?
Thx for any advise.


[gelöscht durch Administrator]
Title: Re: How to show different language for a single download?
Post by: ColinM on 01.03.2017 16:22:32
Hi
Your question is not easy!  Are your foreign language Downloads in a separate category/language?
The challenge is that whilst jD supports multi language, you wish to be selective by the language of a Download.  Now jD uses layouts to create the view, so in effect you are asking jd to select a different layout which is challenging. But I will give it more thought.

Colin
Title: Re: How to show different language for a single download?
Post by: Arno on 01.03.2017 17:02:42
I think this is not possible. The only way could be to remove the additionals data placeholders in the files and details layouts. Afterwards could you write this data directly in the downloads description. For every language another.
Title: Re: How to show different language for a single download?
Post by: HerKle on 01.03.2017 17:37:44
Yes, Colin, the respective languages are installed on Joomla and the single downloads are marked as "Turkish", "Russian" etc in the language field of the single download and its category. I hoped this would influence the system's behaviour already. Since it doesn't I don't understand what impact those fields have basically.

Your proposal to select language based templates could be helpful if there is a setting somewhere to make them switch the language (css classes or sth. else). Thanks for pointing me out that direction.