Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

facebook connect

6 years 6 months ago
  • Amit's Avatar
    Topic Author
  • Amit
  • Offline
  • Junior Boarder
  • Posts: 130
  • Thank you received: 2
Licenses:
JomSocial Active

hi,
where can i find the language file to translate the login of facebook (the pop up message for example)?

6 years 6 months ago
Licenses:

HI, Amit.

Thank you for contacting us.
That modal window is from Facebook, language should depend what settings at FB you have.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
6 years 6 months ago
  • Amit's Avatar
    Topic Author
  • Amit
  • Offline
  • Junior Boarder
  • Posts: 130
  • Thank you received: 2
Licenses:
JomSocial Active

hi,
1. is there a tuturial that can show me how to change it to my language?
2. even the button "sign in with facebook" cant be translate?

BR
Amit

6 years 6 months ago
Licenses:
JomSocial Active
6 years 6 months ago
  • Amit's Avatar
    Topic Author
  • Amit
  • Offline
  • Junior Boarder
  • Posts: 130
  • Thank you received: 2
Licenses:
JomSocial Active

mmmm its not clear there for a regular user, maybe for programmer.
maybe jomsocial can make a tutorial about it?

6 years 6 months ago
Licenses:
JomSocial Active

Default language is picked from Joomla back-end settings and that language is used for FB button. In Joomla back-end go to
- Extensions/Language(s) and declare default language for site and that lang should be used for FB button.
For each user you can set frontend and backend language in user properties.
If that is not working keep reading.
I'm not using facebook login but code that is responsible for button is located in:
...\components\com_community\templates\jomsocial\layouts\facebook.button.php
line 24
$fbLangScript = '<script src="//connect.facebook.net/en_GB/all.js" type="text/javascript"></script>';
and line 27
$fbLangScript = '<script src="//connect.facebook.net/'.$currentLang.'/all.js" type="text/javascript"></script>';
My best guess is that changing line 24 from
$fbLangScript = '<script src="//connect.facebook.net/en_GB/all.js" type="text/javascript"></script>';
to
$fbLangScript = '<script src="//connect.facebook.net/es_LA/all.js" type="text/javascript"></script>';
should change button to Spanish according to FB link that I gave you. You need to find lang code that you need.
I have not tested this code so if you decide to do something that is on your own responsibility.
On the other hand, making backup of that file and experimenting cannot hurt much since you can always overwrite with backed up file.
Same code is found in:
...\components\com_community\templates\jomsocial\layouts\facebook.inviteframe.php (line 49) which is responsible for some kind of invite form.

6 years 6 months ago
Licenses:

HI, Guys.

Language of modal window can't be changed by any code as it's loaded externally from FB.
Language in it should depend of your FB language.
Here you can see that site is in Hebrew while modal window is in Polish as my FB account uses Polish: prntscr.com/gviz1x


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Amit, Vladimir
6 years 6 months ago
  • Amit's Avatar
    Topic Author
  • Amit
  • Offline
  • Junior Boarder
  • Posts: 130
  • Thank you received: 2
Licenses:
JomSocial Active

thanks.

despite that in my facebook settings everything is hebrew, the facebook message is in english. but i understand that it is facebook issiue, so thanks anyway. i will live with it.

BR
Amit

6 years 6 months ago
Licenses:

HI, Amit.

I've checked directly on your site: <removed>
As you can see, language follows my FB settings.
I don't know why it doesn't work in your case...


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
6 years 6 months ago
  • Amit's Avatar
    Topic Author
  • Amit
  • Offline
  • Junior Boarder
  • Posts: 130
  • Thank you received: 2
Licenses:
JomSocial Active

ok, thanks a lot.
Please erase the print screen.

BR
Amit

6 years 6 months ago
Licenses:

HI, Amit.

Removed as requested.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW