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

[BUG] Translation of ASK A QUESTION button

Started by servlet, April 14, 2016, 16:32:07 PM

Previous topic - Next topic

servlet

Hello
I found a bug. VM ...16 J! 3.5.1
Checked...
There is COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL in administrator and forntend language folders.
You cannot translate/override FE (frontend) language of this string. Everytime it get translation from administration section in English if you dont have translation of VM in BE in your language. I dont know why FE get translations of BE with priority. Why bypass override FE...
The same is with Description in product view.
So... everything is translated without Description and Ask a question about this product

I will hack BE EN language with translation of this string to solve my problem but many live shops will not
Он-лайн магазин за фототапети http://mishelfoster.com

servlet

Just find more... Base price... Price... Sale prices in product view are not translated too

Maybe all in product view is not translated correctly.
Он-лайн магазин за фототапети http://mishelfoster.com

servlet

No way
More then 120 days without fix of bug!!!
I will notify once again.
The bug still exist after update form VM 16 to 18.
Он-лайн магазин за фототапети http://mishelfoster.com

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

servlet

No. Just for translation of the button "Ask a question about product"
COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL
I have to translate administrator/components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini to fix the problem. English is not the language by default
Overrides doesnt work.
In translated website only this button is in English.
Он-лайн магазин за фототапети http://mishelfoster.com

Jörgen

Hello

I have done some testing VM 3.0.18

  • The backend string overrides the front end string in this case.
  • If You do a override, You can not override this with a back end override. The original back end language string takes over.
  • But It is possible to override with the Joomla language front end override, this works.
  • If You change the com_virtuemart.ini files You have to change the back end file.
I do not understand this result but using overrides the "correct" way through front end seems to work.
Adding the correct language string to the back end com_virtuemart.ini file should also work.

regards

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

servlet

BE gb_GB with constant COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL override FE in fr_FR - it is displayed in English not in French
BE and FE overrides via Joomla overrides dont work for VM in this case.

I have to translate the string English com_virtuemart.ini to work in French... there is no logic! English ini file override French file but only one string. I think override and other strings...

I think there is a mistake in codding and I dont understand why translation files are in VM folder not in JOOMLA LANGUAGE FOLDER. Is it possible the problem comes from this?
Он-лайн магазин за фототапети http://mishelfoster.com

Milbo

as far as I can see, the language string is just doubled. I just deleted it from the BE file.

The language file is in the component directory is correct and the new way also in joomla itself. BTW https://docs.virtuemart.net/manual/general-concepts/214-multilanguage-and-multlingual.html

"THE KEY FOR THE OVERRIDE CANNOT BE FOUND IN THE JOOMLA LANGUAGE SYSTEM
look in the administrator language files or vice versa"

The reason is that we load sometimes the BE lang file in the FE and viceversa.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/