News:

Looking for documentation? Take a look on our wiki

Main Menu

Translate order status

Started by patrik60, April 21, 2012, 16:09:17 PM

Previous topic - Next topic

lindapowers

Can't you make it with the same method as translations for categories, products, payment methods etc?

Is a nightmare translating with those language files specially when after each upgrade the language files are overwriten.

jbrailas

Quote from: kkmediaproduction on April 15, 2013, 10:52:51 AM
Where? Confirmation email? Orderlist? ...

Confirmation emails for both shopper and shop admin.
+
Administrator>virtuemart>Orders & Shoppers>Orders

K&K media production

You need the language keys in your language overrides for administrator

extensions -> language manager -> overrides

choose administrator from dropdown

put there your overrides with key and translation

lindapowers

#33
Hi guys,  in 2.021D  the order status inside the confirmation emails is not being translated and the files have those keys included as is the newest language pack avi.

The text im refering to shows this way in spanish just below the total at the order emails:

"El estado de su pedido es: Confirmed."

-------------------

Also the order status is not translated in the backend administrator of VM2.

Do we still need to make overrides as jjk mentioned previously or it should read it directly from the new language files?

Regards

jjk

Might be fixed already. I did see some changes related to the order status in 2.0.20d (not yet released  ;) ).
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

lindapowers

#35
Oh sorry, yes im actually testing version D, Max send it to me to test few things.

He told me to change in the order edit status at the backed of VM: Confirmed to COM_VIRTUEMART_ORDER_STATUS_CONFIRMED etc that seems to work for the backend, have not tested yet in the emails.

bulesz

FYI:
Not working with VM2.22a in the order confirmation emails.

Not the lang codes in the lang files and neither with the overrides.

Marttyn

Still not working, im on v2.0.22a. Ive made the fix for myself. But you should fix for future releases.
Im working on this view: orders/details_items.php

Maxim Pishnyak

Why not fix on 22d then? What did you do?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Marttyn

I dont know if in 22d is corrected.
In 22a is not.
Just changed this (line 65 for me):
$this->orderstatuses[$item->order_status]

for this:
JText::_($this->orderstatuses[$item->order_status])