Welcome, Guest
Username: Password: Remember me

TOPIC: Facebook Comments

Facebook Comments 2 years 4 months ago #3406

  • Piero Pavan
  • Piero Pavan's Avatar
  • Offline
  • Senior Boarder
  • Posts: 54
  • Thank you received: 1
  • Karma: 0
Hi Staff
I'm not able to find solution about language used for Facebook Comments.
I need it's in Italian Language.
Where do I have to set language in order to get it?
Thanks.
The administrator has disabled public write access.

Facebook Comments 2 years 3 months ago #3415

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2765
  • Thank you received: 292
  • Karma: 40
Kindly open the default.php file from the below path,
Root-->components-->com_jomclassifieds-->views-->advert-->tmpl-->default.php

In this file, search the below code,
js.src = '//connect.facebook.net/en_US/all.js#appId=".$this->config->fbappid."&xfbml=1';

Replace the above the code by the below one.
js.src = '//connect.facebook.net/it_IT/all.js#appId=".$this->config->fbappid."&xfbml=1';

That's it. Save the file and check your site.

Thanks.
The administrator has disabled public write access.
The following user(s) said Thank You: Piero Pavan

Facebook Comments 2 years 3 months ago #3421

  • Piero Pavan
  • Piero Pavan's Avatar
  • Offline
  • Senior Boarder
  • Posts: 54
  • Thank you received: 1
  • Karma: 0
Perfectly working now! Thanks a lot!
Awesome support!
Take into consideration to add this little option in future versions, otherwise every new version overwrite this modification.
Thanks again.
The administrator has disabled public write access.
Time to create page: 0.296 seconds