Closed (fixed)
Project:
Google Plus One Button | Google+ Badge
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2011 at 11:05 UTC
Updated:
7 Nov 2011 at 22:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
joostvdl commentedPatch
Comment #2
corbacho commentedThanks Joost ! patch comitted
The 6.x branch was fine, I don't know how I managed to change the order of the parameters in the 7.x branch :/
Anyhow, 7.x. rc6 version should work. If you can test the multi-lingual feature and report it, will be nice
Comment #3
joostvdl commentedRC6 works fine. Thanks.
Comment #5
alechko commentedHey, got problem with language at 7.x-1.x-dev version ,using D7 7.8
Set up to "ru" but the button still has "en" lang.
in the module set to
$glanguages = explode(",", $glanguages);.ideas?
Comment #6
corbacho commentedHi alechko
You did right. It should work. Can you confirm me that you have installed the Russian language in Drupal. Check that also has the code 'ru' in the Language page settings. Not 'RU' or 'Ru' or sth like that.
And you are testing the google button in the Russian version of the site, true?
Comment #7
corbacho commentedHi again alechko.
I reviewed and fixed the language settings.
Download the dev branch (7.x or 6.x, depending of your case)
Also I changed something else. If only 1 language is present, it won't be compared against the language of Drupal, it will be applied automatically to the button.
Only in case of 2 or more languages, then is compared against the languages installed in Drupal (Locale module) to decide what language code use for Google+1.
Please report if it worked for you.Thanks