Closed (outdated)
Project:
ShareThis
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2009 at 19:53 UTC
Updated:
1 Oct 2019 at 08:44 UTC
Jump to comment: Most recent
Comments
Comment #1
feconroses commentedYeah, i need to translate it too. I think that its not a problem of the module, its ShareThis that need to be more flexible in the STAPI and with the code.
Comment #2
msathesh commenteddid you guys find a the solution? If so please post the solution here. So that it's useful to everyone.
Comment #3
mmartinov commentedHere's how I've solved the issue for a three lingual site, took me some time to figure it out, hope this will save you some efforts.
0) You must have i18n module installed.
1) In your settings.php add the "sharethis_code" variable name in the array under the 'i18n_variables' key in $conf, so it becomes something like this:
2) Then go to admin/settings/sharethis and in the "Code" textarea paste the following code:
3) Repeat 2) for each of the site languages changing the string after buttonText= to the desired output.
4) Don't forget to clear the Drupal cache.
Note that this is a workaround and probably a patch to the module is a better idea. I could try to come up with one if the maintainer finds it a valuable addition?
Comment #4
avpadernoI am closing this bug report, as Drupal 6 is no longer supported. Please re-open it if the issue is still relevant for the Drupal 7 or 8 version of the module.