Author Topic: vmText - better VirtueMart documentation?  (Read 266 times)

user_id

  • Beginner
  • *
  • Posts: 7
vmText - better VirtueMart documentation?
« on: October 11, 2018, 14:03:42 pm »
Hello,
I don't know Joomla but I must find typo in one place on site. Generally the code is:
Code: [Select]
<?php echo vmText::('FILTER').$this->category->category_name?>This line gives string "Filetr <category_name>", as you can see "Filetr" have typo, it should be "Filter".
I downloaded much part of site, I searcher database for this "Filetr" word and I can't find this...

I looked at documentation and on this forum for vmText. I didn't suppose it will be as huge problem. How vmText works? In the documentation there is no any position for this function. On forum it is not explained where vmText finds these strings.

Could someone help me?

Is there on the web any good Virtuemart documentation? Better than on: docs.virtuemart.net
Or maybe I couldn't use search on this site...

Kind regards,
Simon


Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1806
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: vmText - better VirtueMart documentation?
« Reply #1 on: October 11, 2018, 14:13:53 pm »
vmText::_() works as Joomla JText::_()
https://docs.joomla.org/J3.x:Developing_an_MVC_Component/Adding_language_management

You will find the text if You search the language files *.ini in the language and VM directories.

Also check out the language ovverides in Joomla.

Regards

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

user_id

  • Beginner
  • *
  • Posts: 7
Re: vmText - better VirtueMart documentation?
« Reply #2 on: October 11, 2018, 14:43:28 pm »
(...)
You will find the text if You search the language files *.ini in the language and VM directories.

Also check out the language ovverides in Joomla.

Regards
Jörgen @ Kreativ Fotografi
Thank you for help.
The location of file with translations were:
/language/overrides/ - one of .ini file there contain string which I needed.

Very thank you,
KR,
Simon

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1806
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: vmText - better VirtueMart documentation?
« Reply #3 on: October 11, 2018, 17:35:09 pm »
Be careful with corrections in the installed language files, they will be overwritten with a new update. Please use the Joomla language override for Your specific changes. Or report the language faults to the team members that volounter managing the language files.

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)