Changing dynamically the language

quickseb May 29, 2012 10:14AM EDT

Hi, i m working on a site where the user change dynamically the language, but i don t find how to do the same with addThis :

var addthis_config = {ui_language: "fr"};

and later

addthis_config.ui_language= "en";

But nothing happen...

how to do this
Thanks

1 Community Answers

Paul May 29, 2012 01:16PM EDT

Both of those should work, though only the last one will set the language because of how variables are scoped in JavaScript. You're setting the language to French in the first line and then changing it to English in the second.


This question is closed to new answers.

Still need help?


General Topics

 

Developers