Hi, can you share the current message that is displayed in your site. This is to help me understand what message you are referring too.
Thank you
Thread Starter
Erle
(@erlewilliams)
The message is as follows:
You need to be logged in to download this file. Click here to go to login page.
“Click here” is a link that takes me to the website log in page.
If it helps the URL is <my website>/?smd_process_download=1&download_id=1624
I’m not sure if the id of 1624 is specific to my site or not.
I did find some files in the languages directory that have the wording as above. I tried modifying the simple-download-monitor.pot file but that didn’t change the wording.
Hope that helps.
Hi, thank you for providing more information. I have submitted a message to the developers to investigate further your request.
Kind regards
Hi, You will need to customize your copy of the language file to customize that text. You can customize any user visible text by customizing the language file.
Thread Starter
Erle
(@erlewilliams)
Ok thanks! Just in case someone else needs to learn what I just learned.
Download a language editor like POEDIT.
Load the .pot file from the plugin’s languages directory.
Create a translation file (.po) for the appropriate language.
Create a translation for the appropriate source. In my case I added onto the __Click here__ to go to login page. <new text here>
Save.
Create a compiled file (.mo) for the appropriate language.
** I stuck with a simple approach and used English US (en-US). **
Copy the new files (.po and .mo) to the languages directory
Set the appropriate file permissions, ownership and group.
Thanks @mra13. That worked perfectly!