Page 1 of 1

Subscribe module translate - Solved

Posted: 24 Aug 2023, 09:58
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.

Re: Subscribe module translate - Solved

Posted: 24 Aug 2023, 11:17
by Jan
OK