Solved

twitter button - french interface.

Posted on 2012-03-23
5
483 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A great marketing strategy is diverse.  Read about the not so popular, yet effective, marketing tactics you can start using today!
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

685 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