Subscribe module translate - Solved

Phoca Email (Newsletter) - sending emails and managing newsletters in Joomla! CMS
emario
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Aug 2023, 08:42

Subscribe module translate - Solved

Post by emario »

I had some trouble with translating subscription module in local language and have finally found where this translation goes in Joomla 4
1. I have copied all Phoca language files from /administrator/language/en-GB/ folder to local language folder /administrator/language/sl-SI/ (for Slovenian)
2. I have renamed all Phoca language files in local folder to sl-SI.com_phocaemail... and sl-SI.mod_phocaemail... from en-GB
3. Than I use Joomla language override to make a translations. Problem is that name, email and Subscribe captions for Subscribe module are not taken from mod_phocaemail... variables but from com_phocaemail... for front end display. So variables for override are COM_PHOCAEMAIL_NEWSLETTER_NAME, COM_PHOCAEMAIL_NEWSLETTER_EMAIL and COM_PHOCAEMAIL_NEWSLETTER_SUBSCRIBE.

Now works fine.

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48303
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Subscribe module translate - Solved

Post by Jan »

OK
If you find Phoca extensions useful, please support the project
Post Reply