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

#   Multilaguage for products in Acyba Newsletters

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

12 years 2 months ago [\#170135](#170135) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Multilaguage for products in Acyba Newsletters](/forum/30-integrations/870845-multilaguage-for-products-in-acyba-newsletters#170135 "-- Joomla version -- : newest -- PHP version -- : newest  I succesfully run a multilanguage site where HikaShop products show in both English and Spanish.  When making an Acyba Newsletter I insert some products expecting they show in the language indicated in the language box for each newsletter. But they show in the language I am browsing the website.  So when I make replace tags doesn't matter the language of the newsletter, it applies the language I am browsing at that moment and this doesn't make sense. TAG replacement should obey the langague assigned to the newsletter.  I sent the newsletter to a list and the products always show in spanish if the tags have not been replaced while browsing in english mode.")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- Joomla version -- : newest
-- PHP version -- : newest

I succesfully run a multilanguage site where HikaShop products show in both English and Spanish.

When making an Acyba Newsletter I insert some products expecting they show in the language indicated in the language box for each newsletter. But they show in the language I am browsing the website.

So when I make replace tags doesn't matter the language of the newsletter, it applies the language I am browsing at that moment and this doesn't make sense. TAG replacement should obey the langague assigned to the newsletter.

I sent the newsletter to a list and the products always show in spanish if the tags have not been replaced while browsing in english mode.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NzA4NDUtbXVsdGlsYWd1YWdlLWZvci1wcm9kdWN0cy1pbi1hY3liYS1uZXdzbGV0dGVycz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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: 86587
- Thank you received: 14325
-
-

12 years 2 months ago [\#170189](#170189) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Multilaguage for products in Acyba Newsletters](/forum/30-integrations/870845-multilaguage-for-products-in-acyba-newsletters#170189 "-- Joomla version -- : newest -- PHP version -- : newest  I succesfully run a multilanguage site where HikaShop products show in both English and Spanish.  When making an Acyba Newsletter I insert some products expecting they show in the language indicated in the language box for each newsletter. But they show in the language I am browsing the website.  So when I make replace tags doesn't matter the language of the newsletter, it applies the language I am browsing at that moment and this doesn't make sense. TAG replacement should obey the langague assigned to the newsletter.  I sent the newsletter to a list and the products always show in spanish if the tags have not been replaced while browsing in english mode.")*

Hi,

The language parameter is something new in AcyMailing so it's not handled yet in the integration we have with it, which is why you get that behavior.
Try to add the line: Code:

if(!empty($email-&gt;language)) $tag-&gt;lang = $email-&gt;language;

after the line: Code:

$tag-&gt;id = (int) $arguments[0];

in the file plugins/acymailing/hikashop/hikashop.php and that should help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NzA4NDUtbXVsdGlsYWd1YWdlLWZvci1wcm9kdWN0cy1pbi1hY3liYS1uZXdzbGV0dGVycz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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.076 seconds

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