News:

Looking for documentation? Take a look on our wiki

Main Menu

override language status orders [SOLVED]

Started by guardiano78, June 30, 2018, 21:03:46 PM

Previous topic - Next topic

guardiano78

Hello,
has anyone ever tried to do overriide "order status" strings directly in joomla administration?
I tried it and i think the override of those strings doesn't work.
I tried because when i update language version, my customizations are lost.

Has anyone tried to do this successfully?
Maybe i forgot to do something else?

Thanks.

Jörgen

It is possible overriding those strings with language manager. But You have to override both frontend and backend. Starting with backend has a checkbox, FE also, or similar. Tick this and it should work.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.


guardiano78

#3
Hello,
excuse me if i reply so delay, only now i was able to try.
I did this way:
- i created a new order status item named "COM_VIRTUEMART_ORDER_STATUS_WAITING_PAYMENT";
- i created override items in "Extensions -> Language (s) -> Overrides" named "In attesa del pagamento"
It does not work !!! :-(

Well, after this, i tried to write the string in file it-IT.com_virtuemart_orders.ini with other status order strings:
COM_VIRTUEMART_ORDER_STATUS_WAITING_PAYMENT = "In attesa del pagamento"

Obviously it works!

I must say that i use override language for a long time, with some other extensions and it always worked fine.

I do not know what else to do! ... i think may be a bug ... or ... what am I wrong yet?
Thank you!



joomla 3.8.10 - virtuemart 3.2.14

Ventsi Genchev

Did you overwrite the administration (backend) as well, as Jörgen wrote above?

Extensions -> Language (s) -> Overrides
The filter on the left:
1. Site
(path: site/language/overrides/)
2. Administrator
(path: site/administrator/language/overrides/)

Did you use the "For Both Locations" checkbox when entering the rewriting?
You can check if the changes are entered in the files using the paths I mentioned above.
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

guardiano78

Ooops! i forgot! All works fine now!   ;D
So I suppose the best thing to do is to work with the "administrator" filter and check the "For Both Locations" box.
Thank to all for help!