I'm new to drupal and I didn't realize what is the right way to change the language of the social buttons. I edited directly the file easy_social.widgets.inc. I know that it's a poor practice, but I don't know how to do better. Any advices how to do this properly?

Best regards,
Carlos.

Comments

lnunesbr’s picture

Carlos,

this is not implemented yet, it should identify the language automatically by the current site language...

I'll be working on that for the next releases...

thanks

lnunesbr’s picture

Assigned: Unassigned » lnunesbr
Status: Active » Needs review

This solution has been implemented, and is ready for testing...
The twitter and facebook supported languages are limited by its own providers.

For testing:

  • In a drupal 7, enable locale module
  • Have at least two languages configured (I suggest English, German, Chinese Simplified and Portuguese) - those mentioned are supported by Twitter and Facebook
  • Enable Easy Social for your node types
  • Create one node content for each language
  • Each node must load the easy social widgets with the correspondent node languages
alexweber’s picture

Status: Needs review » Reviewed & tested by the community

Works for me!

rhormens’s picture

Issue summary: View changes

Works for me too!
Fixed this issue.

rhormens’s picture

rhormens’s picture

rhormens’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.