[Skip to main content](#vessel-content)

#   Spanish language in the button Gogle +1

##

- **[diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile")**
- [![diosneptuno's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5543-diosneptuno "View diosneptuno's Profile") Topic Author
- [ Offline](/forum/user/5543-diosneptuno)

Less More

- Posts: 41
- Thank you received: 0
-
-

14 years 9 months ago -  14 years 9 months ago [\#36644](#36644) by [diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile")  *[Spanish language in the button Gogle +1](/forum/2-general-talk-about-hikashop/36644-spanish-language-in-the-button-gogle-1#36644 "Hi  Please where I can change the language to Spanish in the button &quot;Google +1&quot; in products?  Thank you  Andreu")* was created by *[diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile")*

Hi

Please where I can change the language to Spanish in the button "Google +1" in products?

Thank you

Andreu

Last edit: 14 years 9 months ago by [diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzM2NjQ0LXNwYW5pc2gtbGFuZ3VhZ2UtaW4tdGhlLWJ1dHRvbi1nb2dsZS0xP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

14 years 9 months ago [\#36699](#36699) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Spanish language in the button Gogle +1](/forum/2-general-talk-about-hikashop/36644-spanish-language-in-the-button-gogle-1#36699 "Hi  Please where I can change the language to Spanish in the button &quot;Google +1&quot; in products?  Thank you  Andreu")*

Hi,

Could you try to change the code:
$body=str_replace('&lt;/head&gt;', '&lt;script type="text/javascript" src="[ apis.google.com/js/plusone.js](https://apis.google.com/js/plusone.js)"&gt;&lt;/script&gt;&lt;/head&gt;', $body);

by:
$mainLang = &amp;JFactory::getLanguage();
$tag = $mainLang-&gt;get('tag');
if(!in_array($tag,array('zh-CN','zh-TW','en-GB','en-US','pt-BR','pt-PT'))) $tag=strtolower(substr($tag,0,2));
$lang = '{"lang": "'.$tag.'"}';
$body=str_replace('&lt;/head&gt;', '&lt;script type="text/javascript" src="[ apis.google.com/js/plusone.js](https://apis.google.com/js/plusone.js)"&gt;'.$lang.'&lt;/script&gt;&lt;/head&gt;', $body);

in the file plugins/content/hikashopsocial.php
That should allow google to use the correct language automatically.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzM2NjQ0LXNwYW5pc2gtbGFuZ3VhZ2UtaW4tdGhlLWJ1dHRvbi1nb2dsZS0xP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile")**
- [![diosneptuno's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5543-diosneptuno "View diosneptuno's Profile") Topic Author
- [ Offline](/forum/user/5543-diosneptuno)

Less More

- Posts: 41
- Thank you received: 0
-
-

14 years 9 months ago [\#36850](#36850) by [diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile")  Replied by *[diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile")* on topic *[Re: Spanish language in the button Gogle +1](/forum/2-general-talk-about-hikashop/36644-spanish-language-in-the-button-gogle-1#36850 "Hi  Please where I can change the language to Spanish in the button &quot;Google +1&quot; in products?  Thank you  Andreu")*

Hello Nicolas:

Not works well, is still in English not in Spanish ![:(](/media/kunena/emoticons/22.png ":(")
Any other ideas?

Thank you

Andreu

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzM2NjQ0LXNwYW5pc2gtbGFuZ3VhZ2UtaW4tdGhlLWJ1dHRvbi1nb2dsZS0xP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

14 years 9 months ago [\#36852](#36852) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Spanish language in the button Gogle +1](/forum/2-general-talk-about-hikashop/36644-spanish-language-in-the-button-gogle-1#36852 "Hi  Please where I can change the language to Spanish in the button &quot;Google +1&quot; in products?  Thank you  Andreu")*

Hi,

We included the modification in the new release of HikaShop that we did yesterday. The modification is working great. You can see it on our demo website. When you change the language, the google +1 language changes too.

So you can just update HikaShop to the new version and it should work for you too. The new version can be downloaded on your subscription page (or the download page for the Starter edition) on our website

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzM2NjQ0LXNwYW5pc2gtbGFuZ3VhZ2UtaW4tdGhlLWJ1dHRvbi1nb2dsZS0xP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile")**
- [![diosneptuno's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5543-diosneptuno "View diosneptuno's Profile") Topic Author
- [ Offline](/forum/user/5543-diosneptuno)

Less More

- Posts: 41
- Thank you received: 0
-
-

14 years 9 months ago [\#36855](#36855) by [diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile")  Replied by *[diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile")* on topic *[Re: Spanish language in the button Gogle +1](/forum/2-general-talk-about-hikashop/36644-spanish-language-in-the-button-gogle-1#36855 "Hi  Please where I can change the language to Spanish in the button &quot;Google +1&quot; in products?  Thank you  Andreu")*

Hi

Thank you very much, I have the bussines edition, I will update now.

Andreu

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzM2NjQ0LXNwYW5pc2gtbGFuZ3VhZ2UtaW4tdGhlLWJ1dHRvbi1nb2dsZS0xP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile")**
- [![diosneptuno's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5543-diosneptuno "View diosneptuno's Profile") Topic Author
- [ Offline](/forum/user/5543-diosneptuno)

Less More

- Posts: 41
- Thank you received: 0
-
-

14 years 9 months ago [\#36891](#36891) by [diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile")  Replied by *[diosneptuno](/forum/user/5543-diosneptuno "View diosneptuno's Profile")* on topic *[Re: Spanish language in the button Gogle +1](/forum/2-general-talk-about-hikashop/36644-spanish-language-in-the-button-gogle-1#36891 "Hi  Please where I can change the language to Spanish in the button &quot;Google +1&quot; in products?  Thank you  Andreu")*

Hi Nicolas:

Thank you very much, I have updated and now works perfect

Andreu

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzM2NjQ0LXNwYW5pc2gtbGFuZ3VhZ2UtaW4tdGhlLWJ1dHRvbi1nb2dsZS0xP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.100 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
