HI,
I added the facebook comments to images and categories.
All done well, but all information about coming from facebook's app are in english.
Obviously, on fb, set my application in italian (my language), but it still come in english.
I also tried other plug-in, based on the same fb app, and are in italian.
So I suppose that the php code of pocagallery doesn't transfer the information about language from fb app to the site.
Any solution??
thank you in advance
facebook comments in OTHER language
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: facebook comments in OTHER language
Hi, search this forum for "facebook", there should be answer where to find the code and change it (en_US to other langauge)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 22 Nov 2010, 20:27
Re: facebook comments in OTHER language
Ok, i found it.... it said:
However, the comments on CATEGORY are still in ENGLISH.
You need to change the same CODE in com_phocagallery/views/category/tmpl/default.php
Thank you,
bye
And now the images can be commented in other language....My friend i solved it, just change in the file: com_phocagallery/views/comment/tmpl/default.php at line 38
i see en_EN ...and i thought, if i put es_ES? and its work!
Code: Select all
(function() {
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol + '//connect.facebook.net/es_ES/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
However, the comments on CATEGORY are still in ENGLISH.
You need to change the same CODE in com_phocagallery/views/category/tmpl/default.php
Thank you,
bye
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: facebook comments in OTHER language
Ok, I hope I will add the parameter for the language soon to Phoca Gallery.
If you find Phoca extensions useful, please support the project