Hi there,
Does anybody know how to change the text on the download button to read "download pdf" please. I can't find which file in the backend where this is set.
Thank you for your help :)
Roger
Hi
It is in the Translation file. For the uk this is the site file en-GB.com_jdownloads.ini which is in dir /language/en-GB/
You need to search for COM_JDOWNLOADS_LINKTEXT_DOWNLOAD_URL
This currently reads
COM_JDOWNLOADS_LINKTEXT_DOWNLOAD_URL="Download"
so you would edit it to
COM_JDOWNLOADS_LINKTEXT_DOWNLOAD_URL="Download pdf"
It will of course apply to every download button, and every time you update jD you may need to edit it again.
Is it really worth while when you could alter the layout to show as illustrated in the attached pic?
Colin
[gelöscht durch Administrator]
Hi,
you could also do an "override" (Languages -> Overrides)
Search for COM_JDOWNLOADS_LINKTEXT_DOWNLOAD_URL and change "Download" to "Download pdf". This won't change after an update.
But a picture looks really nice, too.
Lena
Lena
Yes overrides are good.
But if the language file changes with extra content for new features what happens then?
Colin
Colin,
I find it very useful and practical to use overrides (Template and Language) therefor I'm quite interested in your question about what happens with extra content and features, but I'm not sure I understand it correctly.
The changed key in the override stays the same in the language files or does it not? I'm mean it doesn't have to. Than there is a problem because a new key needs to be generated. That I understand. Same for new keys with "download". Is this what you meant with your question?
I'll have to keep an eye on that ;)
Lena,
You are right, the override mechanism for languages applies to individual constants. So using the Languages override will work and one does not have to worry about other changes. I found following useful
https://docs.joomla.org/J3.x:Language_Overrides_in_Joomla
Colin