News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[cleared] Order Statuses showing Constants

Started by MAD King, January 15, 2015, 21:58:56 PM

Previous topic - Next topic

MAD King

After updating to VM 3.0.3 it shows constants in the order statuses. Language file is fine.


[attachment cleanup by admin]
Joomla! 4.4.5
VirtueMart 4.2.12 11012

bluezeyes

Have you checked,  that the overwrite constants are existing in the backend language too?

Because your first screenshot shows the backend,  not the site ( means frontend)

Kind regards

MAD King

Joomla! 4.4.5
VirtueMart 4.2.12 11012

bluezeyes

#3
Yes I see it,  that's why I ask you if you have checked the second entry in language selection "administrator" which holds the overwrites for the backend and see if the constant is there too and filled.

Location: site  means only frontend
Not the backend,  which is

Location: Administrator

MAD King

Oh. I did not realize that. In Admin, all the constants are missing, so. means something messed up. Constants should be in Admin and not in Site. Do you have the same issue?
Joomla! 4.4.5
VirtueMart 4.2.12 11012

bluezeyes

I can't check it at moment.
I m respond you from mobile..  Will check later..

bluezeyes

On a first check,  order constants for en -GB are all there in BE

Ot: the Be for VM is a mess from mobile..  Hope someone will write a working bootstrap theme for it...  Well but it works..  [emoji6]

MAD King

Weird. Why did it get messed up on mine after updating?
Joomla! 4.4.5
VirtueMart 4.2.12 11012

bluezeyes

#8
Well Ive checked it at home now too, and I have the same view like you in your 1st screenshot,

but when I check in  Configuration -> Checkout they are still there and have the values.

And you can't find the constants in the language manager under Overwrites if you don't have created them before,
You have to search in the Language manager themself, either for the constant or for the containing value (which is default setting)

So it seems, that the constants in brackets is just a help for you, maybe to design the invoices or mail content.. i dunno :)

Kind regards,

bluezeyes

MAD King

I tried to find it in the language file direct, but was not able to.
Joomla! 4.4.5
VirtueMart 4.2.12 11012

bluezeyes

#10
Quote from: MAD King on January 20, 2015, 21:47:13 PM
I tried to find it in the language file direct, but was not able to.
But why you want to search it for, It looks ok on your side?
Otherwise you wont have the word Pending in front of the round brackets..

Look in the Orders.ini

components/com_virtuemart/language/en-GB/en-GB.com_virtuemart_orders.ini
Line 72:COM_VIRTUEMART_ORDER_STATUS_PENDING="Pending" for example

Regards,

bluezeyes

MAD King

I have them in the language file, but this still does not explain how the constants get into the backend statuses and why they are showing there.
Joomla! 4.4.5
VirtueMart 4.2.12 11012

bluezeyes

#12
Have you opened edited one of the existing order status?
Maybe the constant is used as title/ name?
And the rest is the wonder of joomla s Translator system [emoji106]

Just look inside [emoji6]

MAD King

Yes, did. Something is definitely messed up after updating.
Joomla! 4.4.5
VirtueMart 4.2.12 11012

Milbo

Nothing is messed up. You are an administrator! This just displays the information that the orderstatusi are translated! and the name of the key, because usually administrators like to know that. You can also just modify it without using any key.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/