The email node to a friend pop up works great but if my site is switched to a different language via i18n the content in the box remains English.

Did I miss a configuration or is this not possible?

Comments

ShareThis Support’s picture

For OAuth widget(Mulitpost) we do not support internationalization.
For Re-skinned widget -
We do support internationalization directly by specifying language on which the widget should work.
Language on Sharethis Classic Widget depends on the browser locale and not on language of Website on which it's being added.
If user sets Browser locale to a specific language ,widget language will be according to that language.

The widget translates automatically based on the language of the browser. Languages currently supported are:

English
French
Spanish
German
Italian
Portuguese
Turkish
Russian
Chinese
Japanese
Dutch
Ukrainian
Vietnamese

Sharethis recently introduced an alternate way to change language of re-skinned widget. But for using this, you will have to add the code manually instead of using ShareThis Drupal module.
Steps to add the code manually :
You can add buttons to your drupal page by editing the theme html.(The solution I'm providing you is for Bartik theme)
You will need to go to:

drupal->themes->bartik->templates

Now edit the " node.tpl.php " file in order to add buttons to each article.

You can
Step 1. Add the script tag -

stLight.options({ publisher:'YOUR SHARETHIS PUBLISHER KEY', lang:'nl' });

nl is language code for dutch. Use this parameter "lang" to change widget language.
You can try changing language using this code.

Step 2. Just add span tags -


below the lines:

print $content_attributes; >
      // We hide the comments and links now so that we can render them later.
      hide($content['comments']);
      hide($content['links']);
      print render($content);
    

In case of any issues ,please feel free to contact us.

The ShareThis Support Team
http://support.sharethis.com

vladimiraus’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Issue was inactive for more than 9 years. Closing.
Feel free to reopen if you feel that it is still relevant. ⏳