Topic-icon Easy-tag feature: how to set language of text label of share button?

Active Subscriptions:

None
7 years 10 months ago - 7 years 10 months ago #58458 by ventluc
Hello! In my web site I used easy-tag feature of JFBConnect to embed a share-button in my article. I embedded it successfully using the following tag:

{JFBCShare}

I read the documentation at link:

www.sourcecoast.com/jfbconnect/docs/social-sharing/easy-tags

but I have found no way to change the language of the text-label of the share-button. In fact in the share-button always compares the text-label "Share", even if I would like to have the text-label in italian (i.e. "Condividi"). How can I do?

I have a similar problem with SCSocial Widget (Follow/Share) module: the text labels of the buttons that appear in the front-end are always in english!

Thanks a lot in advance.

Luca
Last edit: 7 years 10 months ago by ventluc.
The topic has been locked.
Support Specialist
JFBConnect automatically includes the correct language version of the Facebook Javascript library for your site. On your site, we're including the following file:
connect.facebook.net/it_IT/sdk.js

However, if you run Autotune, you'll see the following error:

2.Test: Facebook Javascript library inclusion
Fail: Another Facebook extension is installed, including the Facebook Javascript library, and may conflict.

That's because some other extension is including the very old Facebook Javascript library:
connect.facebook.net/en_US/all.js

You'll need to disable the other inclusion of the old Facebook Javascript library file which is forcing the language to English and could likely cause other conflicts with Facebook integration.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 10 months ago - 7 years 10 months ago #58473 by ventluc
Hello Alex!! How can I know which component is loading the wrong Facebook Javascript library?? I have wasted a lot of time to search it but unsuccessfully...

Thanks in advance.

Luca

ps: by the way...is it possibile to reset counter of Facebook buttons (share/like and so on...), included that ones that I embedded in my articles using Easy-tag feature? If yes how can I do?
Last edit: 7 years 10 months ago by ventluc.
The topic has been locked.
Support Specialist
If you open the source HTML on your site and search for 'all.js', you can find the block. It looks like:
				var COM_JREALTIME_NETWORK_ERROR = 'A network error occurred during data stream: '; 
var jrealtimeBaseURI='http://www.venturaluca.com/portal/';
var jchatAppId = '351525741560715';
jQuery(function(){jQuery('<div id=\'fb-root\'></div>').appendTo('body')});
(function(d){var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];js = d.createElement('script');js.id = id;js.async = true;js.src = '//connect.facebook.net/en_US/all.js';ref.parentNode.insertBefore(js, ref);}(document));
var jchatGPlusLoginURL = 'https://accounts.google.com/o/oauth2/auth?type=web_server&client_id=154393570784-88hmm2gf6an2b5jvnibj39pjq1qr81j0.apps.googleusercontent.com&redirect_uri=http%3A%2F%2Fwww.venturaluca.com%2Fportal%2F&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile';
		var jpm_cust_class = '';
Unfortunately, that doesn't help me know what extension is adding the code. Some stuff around it references something called jchat, jrealtime and jpm_cust_class. I'd look at any extensions that may seem like they'd use those terms. Unfortunately, I can't help you much further as we don't know every extension out there and how they function. Our Autotune tool helps detect these types of conflicts, but it can't automatically resolve them for you.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Ok, I will search further the extension that is causing the problem and I will let you know...

What about my second problem, that is to say:

".....is it possibile to reset counter of Facebook buttons (share/like and so on...), included that ones that I embedded in my articles using Easy-tag feature? If yes how can I do?"

Thanks a lot in advance.

Luca
The topic has been locked.
Support Specialist
Facebook completely controls the count of a page's shares or likes and ties the count to a specific URL. There's no way to change the count unless you change the URL that's in the share/like button. The easy-tags have a way to explicitly set the "href" parameter to a URL of your choice. When left blank, it uses the current page URL, but you can override it as needed. Other than that, there's not a way to do what you're asking.

-Melissa
The topic has been locked.