PDF Button

Phoca PDF - creating PDF documents in Joomla! CMS
pctek
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 24 Nov 2025, 05:35

PDF Button

Post by pctek »

I would like to replace "PDF" on the icon with "Print". How do I do that?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49111
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PDF Button

Post by Jan »

Hi, in Joomla, in language options, you can override the Joomla string variables with your own, just select the Phoca PDF content plugin there and set new value for string: PLG_PHOCAPDF_CONTENT_PDF

Jan
If you find Phoca extensions useful, please support the project
pctek
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 24 Nov 2025, 05:35

Re: PDF Button

Post by pctek »

What is the location of the file where I can set a new value for string: PLG_PHOCAPDF_CONTENT_PDF?
pctek
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 24 Nov 2025, 05:35

Re: PDF Button

Post by pctek »

pctek wrote: 29 Nov 2025, 02:06 What is the location of the file where I can set a new value for string: PLG_PHOCAPDF_CONTENT_PDF?
SOLVED!
I navigated to: /administrator/language/en-GB
Inside that folder you will find the following file: plg_phocapdf_content.ini
Look for the line that reads: PLG_PHOCAPDF_CONTENT_PDF="PDF" (Line #37 in my site but may be different on yours)
I simply changed the "PDF" to "Print" and it now displays Print for the PhocaPDF icon.
This is a Joomla 5 site so the file may be in a different location if you're using a different version of Joomla.
Post Reply