Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] How to set facebook like and so on to german?

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
11 years 6 months ago - 11 years 6 months ago #226113 by jojo12
Hi, I tried a lot but never succeed:
How can I set facebook like and so on to german?
I tried to change in cbconnect channel.php
$lang = ( isset( $_GET ) ? $_GET : 'de_DE' );

but no success! it always persists in english. Can you help me?

in other extensions it works to change to german language. Why not here?
Last edit: 11 years 6 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago #226143 by krileon
Replied by krileon on topic How to set facebook like and so on to german?
CB Connect doesn't use the JS libraries anymore except for the social plugins fields so the popup language is based entirely off the language you've selected in your Facebook application. For the social fields you'll need to change the JS file it uses in field.cbconnect.php for getField of cbconnectFacebookSocialPluginField.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
11 years 6 months ago #226156 by jojo12
I didn't understand what you wrote (the same you wrote earlier)
But now I found in field.cbconnect.php line 73
...$plugin->scheme . '://connect.facebook.net/en_US/all.js#xfbml=1&appId='...
which I exchanged with ...de_DE..
now it's working fine. ;-) I' so happy.
Thank you very much.

Please Log in or Create an account to join the conversation.

  • jojo12
  • jojo12
  • OFFLINE
  • Posts: 957
  • Thanks: 109
  • Karma: 25
11 years 5 months ago #227605 by jojo12
Hi,
after each update, I have to patch newly for the german language. Could this not be done in a manner inside of the language file? Would be a big help, I think not only for me!

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 5 months ago - 11 years 5 months ago #227621 by krileon
Replied by krileon on topic How to set facebook like and so on to german?
It'll be added as a parameter to the Facebook Social Plugin fieldtype with next feature release.

forge.joomlapolis.com/issues/4038


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 11 years 5 months ago by krileon.
The following user(s) said Thank You: jojo12

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum