How can I translate phoca guestbook to spanish?

Phoca Guestbook - creating guestbooks in Joomla! CMS
User avatar
dafaher
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 19 Nov 2017, 22:38

How can I translate phoca guestbook to spanish?

Post by dafaher »

Hello guys, I just installed phoca guestbook for the very first time, and I'm running Joomla 3.8.2. I'd like to translate this extension to spanish but I have no idea what files I should edit. I would appreciate any suggestion about this matter, I've been doing some research on this forum but didn't find instructions. Thank you very much in advance!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9112
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How can I translate phoca guestbook to spanish?

Post by Benno »

Hi,
1.) Take this translation as a basis:
https://github.com/PhocaCz/PhocaGuestbo ... ok-j17.zip
Extract it locally on your PC. You will find two files in it:
  • es-ES.com_phocaguestbook.ini
and:
  • es_ES.com_phocaguestbook.sys.ini
Open these two files in an editor such as Notepad ++

2.) Download the latest version of Phoca Guestbook.
https://github.com/PhocaCz/PhocaGuestbo ... v3.0.6.zip
Extract it locally on your PC. You will find this folder in it:
/language/en-GB
this folder contains two files:
  • en-GB.com_phocaguestbook.ini
and:
  • en-GB.com_phocaguestbook.sys.ini
Open these two files in an editor such as Notepad ++

3.) Compare:
  • es-ES.com_phocaguestbook.ini
and:
  • en-GB.com_phocaguestbook.ini
You will find that in:
  • es-ES.com_phocaguestbook.ini
many strings are missing.
Now you should copy the missings strings and paste it into:
  • es-ES.com_phocaguestbook.ini
After that you should translate the missing strings into Spanish.

4.) The same with:
  • es_ES.com_phocaguestbook.sys.ini
and:
  • en-GB.com_phocaguestbook.sys.ini
5.) When you have finished translating and you have saved the files, you can consider whether you want to create a manifest file, or not. With a manifest file you are able to install your language files directly in Joomla, if you don't, you have to transfer the two files into your language folder manually:
/language/es-ES/

As an example of a manifest file, take a look at this language pack:
http://www.reisefotografien.eu/download ... j25-j3-zip

Kind regards,
Benno
User avatar
dafaher
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 19 Nov 2017, 22:38

Re: How can I translate phoca guestbook to spanish?

Post by dafaher »

That's brilliant, Benno! Thank you very much for your reply and all the information you shared. I'm right on it!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9112
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How can I translate phoca guestbook to spanish?

Post by Benno »

You're welcome!

Kind regards,
Benno
Post Reply