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

[SOLVED] Why are VM language variables not translated in Joomla SQL field type?

Started by gba, October 17, 2017, 11:32:03 AM

Previous topic - Next topic

Jörgen

Hello

Should probably work anyway, but have You tried single quotes instead of double quotes ?

regards

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

gba

Hi!

No difference ...
Actually using vmText::_($option->text) no quotes are involved at all  ;)

Kind regards,
Gerald

Milbo

no big deal, the order stati have their own language file. Just after loadConfig

vmLanguage::loadJLang('com_virtuemart_orders',TRUE);


When you change the language, then all already loaded language files get loaded automatically (can be suppressed with param)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

gba

Hi!

Thank you - translation works now!  :)

Quote from: Milbo on October 25, 2017, 11:34:11 AM
When you change the language, then all already loaded language files get loaded automatically (can be suppressed with param)
"already loaded language files get loaded automatically" - what do you mean with that?

Kind regards,
Gerald

Milbo

When you change the language, you loaded for example 10 english language files. When you change to german, you would have to reload them. VM does this for you.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/