Translation files

Phoca Email (Newsletter) - sending emails and managing newsletters in Joomla! CMS
Franky4all
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Jan 2018, 15:32

Translation files

Post by Franky4all »

I have set the nl-NL files into the administrator/languages and in /languages, but no Dutch translation is visible. I have set Joomla content-language to nl-NL.
Seems to be that Phoca email can not read the ini files of the nl-NL language.
Any suggestions ?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9110
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Translation files

Post by Benno »

Hi,
ok, you have unzipped this language pack:
https://github.com/PhocaCz/PhocaEmail/r ... l-J2.5.zip
locally on your machine and copied this files:
nl_NL.com_phocaemail.ini
nl_NL.com_phocaemail.sys.ini
into this folders:
/language/nl-NL/
/administrator/language/nl-NL/

Did you clear all caches? (Browser & Joomla!) :idea:

Kind regards,
Benno
Franky4all
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Jan 2018, 15:32

Re: Translation files

Post by Franky4all »

Yes, I have done that, no success. Strangly enough, or example, I can not find the string for ´Subject´ in the en-GB ini files also. Shoukd be located in /administrator/languages/en-GB.com_phocaemail.ini , so ?
Something must be wrong in a php file.

I also don´t see a menu translation for menu itself nor for the Phoca Email administrator left-column translation
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9110
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Translation files

Post by Benno »

Hi,
Strangly enough, or example, I can not find the string for ´Subject´ in the en-GB ini files also.
en-GB.com_phocaemail.ini
Line 194

Code: Select all

COM_PHOCAEMAIL_FIELD_SUBJECT="Subject"
Translated with:
nl_NL.com_phocaemail.ini
Line 57

Code: Select all

COM_PHOCAEMAIL_FIELD_SUBJECT="Onderwerp"
Kind regards,
Benno
Franky4all
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 07 Jan 2018, 15:32

Re: Translation files

Post by Franky4all »

It was an example Benno.I know this is on line 57 but it doesn´t show. All translation stays on English. I have set the content Joomla language on nl-NL So, beats me.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9110
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Translation files

Post by Benno »

Hi,
ok, I found it. You have to rename the language files from:
nl_NL.com_phocaemail.ini
nl_NL.com_phocaemail.sys.ini
to:
nl-NL.com_phocaemail.ini
nl-NL.com_phocaemail.sys.ini
Then the translated stings will be displayed in dutch.
Note, these language files are not up to date. Many strings will still be displayed in English.
If you want to complete the translation follow this guide:
viewtopic.php?f=2&t=58398#p148977
It's made for Phoca Guestbook but the 'How to do' is the same.

Kind regards,
Benno
Post Reply