Order status in native language

  • Posts: 10
  • Thank you received: 0
9 years 9 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: 9 years 9 months ago by fak.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 9 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.063 seconds
Powered by Kunena Forum