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

#   Vendor order status email translation

##

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

Less More

- Posts: 57
- Thank you received: 1
-
-

11 years 11 months ago [\#178848](#178848) by [888](/forum/user/32855-888 "View 888's Profile")  *[Vendor order status email translation](/forum/22-market-bug-report/872884-vendor-order-status-email-translation#178848 "-- HikaShop version -- : 2.3.4 -- HikaMarket version -- : 1.5.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.14-1  hi  ORDER&#95;STATUS&#95;CHANGED&#95;TO=&quot;The status of your order No. %s has been changed to %s.&quot; (the last %s is always in English)  Emails to the customer are o.k. Vendor emails have this problem")* was created by *[888](/forum/user/32855-888 "View 888's Profile")*

-- HikaShop version -- : 2.3.4
-- HikaMarket version -- : 1.5.0
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.5.14-1

hi

ORDER_STATUS_CHANGED_TO="The status of your order No. %s has been changed to %s."
(the last %s is always in English)

Emails to the customer are o.k.
Vendor emails have this problem

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg3Mjg4NC12ZW5kb3Itb3JkZXItc3RhdHVzLWVtYWlsLXRyYW5zbGF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 11 months ago [\#178864](#178864) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Vendor order status email translation](/forum/22-market-bug-report/872884-vendor-order-status-email-translation#178864 "-- HikaShop version -- : 2.3.4 -- HikaMarket version -- : 1.5.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.5.14-1  hi  ORDER&#95;STATUS&#95;CHANGED&#95;TO=&quot;The status of your order No. %s has been changed to %s.&quot; (the last %s is always in English)  Emails to the customer are o.k. Vendor emails have this problem")*

Hi,

I guess that is link with the language loader in HikaMarket.
In the file "administrator/components/com_hikamarket/classes/mail.php" please replace Code:

$mail = $shopMailClass-&gt;get('order_status_notification', $order); $mail-&gt;hikamarket = true; $this-&gt;loadLocale(false, $locale);

By Code:

$mail = $shopMailClass-&gt;get('order_status_notification', $order); $mail-&gt;hikamarket = true; $mail_order_status = hikamarket::orderStatus($order-&gt;mail_status); $this-&gt;loadLocale(false, $locale);

And also Code:

$mail-&gt;subject = JText::sprintf($mail-&gt;subject, $order-&gt;order_number, hikamarket::orderStatus($order-&gt;mail_status), HIKASHOP_LIVE); $ret = $shopMailClass-&gt;sendMail($mail);

By Code:

$mail-&gt;subject = JText::sprintf($mail-&gt;subject, $order-&gt;order_number, $mail_order_status, HIKASHOP_LIVE); $ret = $shopMailClass-&gt;sendMail($mail);

It will translate the order status before the reset of the language.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg3Mjg4NC12ZW5kb3Itb3JkZXItc3RhdHVzLWVtYWlsLXRyYW5zbGF0aW9uP3RtcGw9bWFya2Rvd24=) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.114 seconds

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

[](#top)
