Solved

twitter button - french interface.

Posted on 2012-03-23
5
491 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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!
Gain an elementary understanding of Blockchain technology.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

728 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