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

#   Order translate doesn't work on order list

##

- **[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")**
- [![andreasuriani's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28733.jpg)](/forum/user/28733-andreasuriani "View andreasuriani's Profile") Topic Author
- [ Offline](/forum/user/28733-andreasuriani)

Less More

- Posts: 177
- Thank you received: 1
-
-

12 years 3 months ago [\#168495](#168495) by [andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")  *[Order translate doesn't work on order list](/forum/25-install-update/870540-order-translate-doesnt-work-on-order-list#168495 "-- url of the page with the problem -- :   www.andreasuriani.com/newsite  -- HikaShop version -- : latest  HI All, I noticed that the order status on the page &quot;order list&quot; is not translated. Only on this page: why?  Thanks  Andrea")* was created by *[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")*

-- url of the page with the problem -- : [ www.andreasuriani.com/newsite](http://www.andreasuriani.com/newsite)
-- HikaShop version -- : latest

HI All,
I noticed that the order status on the page "order list" is not translated.
Only on this page: why?

Thanks

Andrea

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 3 months ago [\#168514](#168514) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Order translate doesn't work on order list](/forum/25-install-update/870540-order-translate-doesnt-work-on-order-list#168514 "-- url of the page with the problem -- :   www.andreasuriani.com/newsite  -- HikaShop version -- : latest  HI All, I noticed that the order status on the page &quot;order list&quot; is not translated. Only on this page: why?  Thanks  Andrea")*

Hello Andrea,
Firstly can you show me through some screenshots how did you configured your order statuses via the page "Hikashop-&gt;System-&gt;Order statuses" ?
Also, how did you translated them ?

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

- **[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")**
- [![andreasuriani's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28733.jpg)](/forum/user/28733-andreasuriani "View andreasuriani's Profile") Topic Author
- [ Offline](/forum/user/28733-andreasuriani)

Less More

- Posts: 177
- Thank you received: 1
-
-

12 years 3 months ago [\#168578](#168578) by [andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")  Replied by *[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")* on topic *[Order translate doesn't work on order list](/forum/25-install-update/870540-order-translate-doesnt-work-on-order-list#168578 "-- url of the page with the problem -- :   www.andreasuriani.com/newsite  -- HikaShop version -- : latest  HI All, I noticed that the order status on the page &quot;order list&quot; is not translated. Only on this page: why?  Thanks  Andrea")*

Hello Mohamed,
of course: in attachment you can find the list.

Anyway, i didn't touch it and i didn't change the translation file

[ ![Schermata&#95;2014-08-23&#95;alle&#95;02&#95;07&#95;22.png](/forum/attachment/19175) ](/forum/attachment/19175 "...e&#95;02&#95;07&#95;22.png")

- [ ![Schermata&#95;2014-08-23&#95;alle&#95;02&#95;07&#95;22.png](/forum/attachment/19175) ](/forum/attachment/19175 "...e&#95;02&#95;07&#95;22.png") [ ](/forum/attachment/19175?download=1 "...e&#95;02&#95;07&#95;22.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzg3MDU0MC1vcmRlci10cmFuc2xhdGUtZG9lc24tdC13b3JrLW9uLW9yZGVyLWxpc3Q/dG1wbD1tYXJrZG93bg==) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#168587](#168587) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Order translate doesn't work on order list](/forum/25-install-update/870540-order-translate-doesnt-work-on-order-list#168587 "-- url of the page with the problem -- :   www.andreasuriani.com/newsite  -- HikaShop version -- : latest  HI All, I noticed that the order status on the page &quot;order list&quot; is not translated. Only on this page: why?  Thanks  Andrea")*

Hi,

Please edit the file "administrator/components/com_hikashop/types/categorysub.php" and replace the code Code:

function trans($status){ foreach($this-&gt;categories as $value){ if($value-&gt;category_name == $status){ return $value-&gt;value; } } foreach($this-&gt;categories as $value){ if($value-&gt;category_namekey == $status){ return $value-&gt;value; } } return $status; }

By Code:

function trans($status){ foreach($this-&gt;categories as $value){ if($value-&gt;category_name == $status){ if($this-&gt;type == 'status' &amp;&amp; $value-&gt;value == $status) return hikashop_orderStatus($status); return $value-&gt;value; } } foreach($this-&gt;categories as $value){ if($value-&gt;category_namekey == $status){ if($this-&gt;type == 'status' &amp;&amp; $value-&gt;value == $status) return hikashop_orderStatus($status); return $value-&gt;value; } } if($this-&gt;type == 'status') return hikashop_orderStatus($status); return $status; }

It will fix your problem in the front-end order listing.

Regards,

PS: This modification will be in the next HikaShop package.

---

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

The following user(s) said Thank You: [PioneerDesign](/forum/user/33649-pioneerdesign "View PioneerDesign's Profile")

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

- **[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")**
- [![andreasuriani's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28733.jpg)](/forum/user/28733-andreasuriani "View andreasuriani's Profile") Topic Author
- [ Offline](/forum/user/28733-andreasuriani)

Less More

- Posts: 177
- Thank you received: 1
-
-

12 years 3 months ago [\#168620](#168620) by [andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")  Replied by *[andreasuriani](/forum/user/28733-andreasuriani "View andreasuriani's Profile")* on topic *[Order translate doesn't work on order list](/forum/25-install-update/870540-order-translate-doesnt-work-on-order-list#168620 "-- url of the page with the problem -- :   www.andreasuriani.com/newsite  -- HikaShop version -- : latest  HI All, I noticed that the order status on the page &quot;order list&quot; is not translated. Only on this page: why?  Thanks  Andrea")*

Hi Jerome,
works, but i've needed to translate this strings :
ORDER_STATUS_CREATED
ORDER_STATUS_PENDING
ORDER_STATUS_CONFIRMED
ORDER_STATUS_CANCELLED
ORDER_STATUS_REFUNDED
ORDER_STATUS_SHIPPED

It doesn't translate on Language File.
After my work, i'll put in on Italian File for the community.

Thanks
Andrea

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzg3MDU0MC1vcmRlci10cmFuc2xhdGUtZG9lc24tdC13b3JrLW9uLW9yZGVyLWxpc3Q/dG1wbD1tYXJrZG93bg==) 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.061 seconds

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