Order status in native language

  • Posts: 10
  • Thank you received: 0
7 years 5 months ago #191010

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.2
-- PHP version -- : 5.5
-- Browser(s) name and version -- : Chrome

in the after_end page I want to show the current order status using:
$app->enqueueMessage( '<p>Bestelstatus: '.$this->order->order_status.'</p>') ;

But this will show the status in English.
How can I get the Dutch translation in here?

Last edit: 7 years 5 months ago by fak.

Please Log in or Create an account to join the conversation.

  • Posts: 76113
  • Thank you received: 11909
  • MODERATOR
7 years 5 months ago #191046

Hi,

Try like this instead:
$app->enqueueMessage( '<p>Bestelstatus: '.JText::_(strtoupper($this->order->order_status)).'</p>') ;

The following user(s) said Thank You: fak

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum