Solved

twitter button - french interface.

Posted on 2012-03-23
5
464 Views
Last Modified: 2012-04-02
Hello,

When I click on my 'Follow up on twitter' the interface is english.
So when i click on my twitter french buton, the interface should be french... Why it's english how i'm able to change to follow script:
0
Comment
Question by:LelloLello
  • 3
  • 2
5 Comments
 

Author Comment

by:LelloLello
ID: 37758137
Please sign out from your twitter account:

click on my french site: actuaires.ca/index_f.cfm

followers and following should be in french...
why it is in english...


this is my english script:
<li><a href="http://www.actuaries.ca/meetings/sponsorship/2011_Sponsorship_Program_e.pdf" target="_blank">Sponsorship Program 2011</a></li>
<li><a href="https://twitter.com/CIA_Actuaries" class="twitter-follow-button" data-show-count="false" data-lang="en">Follow @CIA_Actuaries</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></li></ul>

this is my french script:


<a href="https://twitter.com/ICA_Actuaires" class="twitter-follow-button" data-show-count="false" data-lang="fr">Suivre @ICA_Actuaires</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
0
 
LVL 1

Accepted Solution

by:
matthewmilam earned 500 total points
ID: 37758193
I got this from Twitter's development page:

Language

The Follow Button is available in English (en), French (fr), German (de), Italian (it), Spanish (es), Korean (ko) and Japanese (ja). To specify the language for the Follow Button, use the lang property and set it to the two letter ISO-639-1 language code.

Javascript Code Example with language set to French:

<a href="https://twitter.com/twitterapi" class="twitter-follow-button" data-lang="fr">Follow @twitterapi</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="http://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
0
 

Author Comment

by:LelloLello
ID: 37758197
I have the language for the follow button.   The button is working fine. it's only when you click on the button the text on the page

followers.... followings are in english.

please test it.
http://www.actuaires.ca/index_f.cfm
0
 
LVL 1

Expert Comment

by:matthewmilam
ID: 37758230
I believe there's nothing you can do about that on your end. Twitter has it like that.
0
 

Author Comment

by:LelloLello
ID: 37758237
no... my friend has twitter open... when he click on it the french window show up...

She has already a twitter account ... I don't have a twitter account.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Moving applications to the cloud or switching services to cloud-based ones, is a stressful job.  Here's how you can make it easier.
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now