problems with different languages

Phoca Guestbook - creating guestbooks in Joomla! CMS
Arietis
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 18 Aug 2012, 12:28

problems with different languages

Post by Arietis »

I have installed Phoca Guestbook in Joomla 2.5.6 with the intention that only registered members can post and read. I checked the website trilingual (French, English and Dutch) and I have installed Phoca Guestbook for the three languages. The Guestbook is also nicely displayed in the language that a registered user is connected, but it shows only the 'Dutch' messages to see 'Dutch' registered users and not the French or English language messages. The same applies to the English and French messages. The users are all in the same group "registered users". How do I fix it so, that all registered users all messages in all languages ​​can read?
I am a beginner with Joomla.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48743
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problems with different languages

Post by Jan »

Hi, did you use standard Joomla! mutlilanguage feature, which means, the guestbook is loaded only on the site with the current language? - Did you enable the language for every created guestbook?

Jan
If you find Phoca extensions useful, please support the project
01Kuzma
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 01 Sep 2012, 10:27

Re: problems with different languages

Post by 01Kuzma »

Hi! Having similar problem:
The site runs with 2 languages(No1 is default and No2)
The guest book has been configured to "All" languages, however when somebody post a message from default language - the post is written to DB with "*" value to "language" row.
When somebody writes a message from No2 language - the "language" row gets language param (lang prefix xx-XX) and user sees all posts made with all two languages. When user open guest book from default language - he sees only this language posts, but those messages have "*" language param in DB!
So, I wonder, how to make that guest book would post messages to "all" languages. "Language" row should accept "*" value. And all users would see all posts made from all languages?
Thank you!
http://imageshack.us/photo/my-images/690/pgb2.jpg/
http://imageshack.us/photo/my-images/27/pgb1.jpg/
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48743
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problems with different languages

Post by Jan »

Hi, in parameters of the guestbook you can set the behaviour of language (which language will be set while posting the message) there you can select different behaviours. :idea:

Jan
If you find Phoca extensions useful, please support the project
01Kuzma
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 01 Sep 2012, 10:27

Re: problems with different languages

Post by 01Kuzma »

Thank you!
01Kuzma
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 01 Sep 2012, 10:27

Re: problems with different languages

Post by 01Kuzma »

Hi!
Don't know if I have done right. I've created 2 separate guestbooks, one have selected one default language, and another has additional.
It seems that everything works normally
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48743
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problems with different languages

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
robcavaliere
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 03 Oct 2012, 21:02

Re: problems with different languages

Post by robcavaliere »

Sorry, I have the same problem. Here are my details.
I run Joomla 2.5.6 (temporary on altervista.org)
Installed Phoca Guestbook and created a guestbook then a menu item assigning to it. In the guestbook's property I use Language IT (italian), the same as the menu item and the Joomla! itself. Well, all labels in the guestbook form are still in English and even the backend is in English.
I'm not sure about the language files installation I have done. I unzipped the downloaded file, then copy all files (different folders) into the server, manually using and ftp client.
Where is the problem?
Please, help me.
Thanks in advance,
Roberto
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48743
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problems with different languages

Post by Jan »

Hi, is the italian language file up-to-date, was it installed to right folder?
https://www.phoca.cz/documents/46-transl ... -in-joomla

Jan
If you find Phoca extensions useful, please support the project
robcavaliere
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 03 Oct 2012, 21:02

Re: problems with different languages

Post by robcavaliere »

Jan wrote:Hi, is the italian language file up-to-date, was it installed to right folder?
https://www.phoca.cz/documents/46-transl ... -in-joomla

Jan
Hi Jan,
thanks for the reply.
I'm quite sure about file position but not sure about the validity of italian files. Indeed, I discovered what I suppose are errors, because all definitions are not strings, see the example here:

COM_PHOCAGUESTBOOK=Phoca Guestbook
COM_PHOCAGUESTBOOK.PHOCA GUESTBOOKS=Guestbooks
COM_PHOCAGUESTBOOK.PHOCA ITEMS=Elementi
COM_PHOCAGUESTBOOK.PHOCA INFO=Info
COM_PHOCAGUESTBOOK.PHOCA CONTROL PANEL=Pannello di controllo

I guess it should be

COM_PHOCAGUESTBOOK="Phoca Guestbook"
COM_PHOCAGUESTBOOK.PHOCA GUESTBOOKS="Guestbooks"
COM_PHOCAGUESTBOOK.PHOCA ITEMS="Elementi"
COM_PHOCAGUESTBOOK.PHOCA INFO="Info"
COM_PHOCAGUESTBOOK.PHOCA CONTROL PANEL="Pannello di controllo"

(double quote to define strings)

However, I aplied that chage and moved new files in the same position you specified, but still I get all english words.
Please check here http://mathcenter.altervista.org/eventi-passati
Any suggestion?
Thanks in advance.
Roberto
Post Reply