News:

Support the VirtueMart project and become a member

Main Menu

Change "Manufacturer" to "Brand"

Started by brycom, June 05, 2012, 16:01:14 PM

Previous topic - Next topic

brycom

Hi All,

I am new to the forums and have searched but can't find any answers.

I am using Virtuemart 2 and would like to change "Manufacturer" to "Brand" as I am trying to create a clothing website.

Can anyone please advise me on how to do it?

Many thanks


ren3784

This is easy but be careful when messing around in here:

Go to language/en-GB/en-GB.com_virtuemart.ini

Open this file in TextEdit or Notepad or Dreamweaver and search for all of the words "Manufacturer" and replace them with the word "Brand". Important that you only replace the ones found between quotation marks such as:

Manufacturer Details
Manufacturer Page
Manufacturer name
Manufacturer

So for example I use the word "Artist". So one entry should turn from:
COM_VIRTUEMART_SEARCH_SELECT_ALL_MANUFACTURER="All Manufacturers"

into:

COM_VIRTUEMART_SEARCH_SELECT_ALL_MANUFACTURER="All Artists"

Leave the words in CAPS alone.
Renee Heyward
Developerz Block
http://developerzblock.com

jenkinhill

PLease do not change the language file. Use overrides so your edit does not vanish with the next VM update!  http://forum.virtuemart.net/index.php?topic=92944.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

ren3784

Well unfortunately I'm still using Joomla 1.5.25 lol yes yes I should upgrade, but it's a process my website cannot handle at the moment. Since it was easy just to find these few "Manufacturer" words, it didn't seem so hard when I updated Virtuemart and replaced them again, because that was all that I changed in there anyway.

Bu this sounds much better than my way if you use Joomla 1.7 :) good luck!

Renee Heyward
Developerz Block
http://developerzblock.com

jenkinhill

Nobody should use Joomla 1.7 either - all 1.6 and 1.7 versions have critical security issues....  Template overrides work in J1.5 but you do need 2.5 for language overrides.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

brycom

#5
Hi Both, thank you for such a quick response!

I have edited the en-GB.com_virtuemart.ini file from /language/ and put it into /language/overrides

However I am still seeing "Manufacturer name" when I select the "sort by" in my shop and back end when I look through the VM component, will it take a while to update?

Many thanks!

jenkinhill

If you use SEF you may need to also edit en-GB.com_virtuemart.sef.ini  - and for backend, en-GB.com_virtuemart.ini in joomla_root/administrator/language/en-GB

And remember to clear the browser cache.....
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

brycom

Hi again,

I have downloaded the file en-GB.com_virtuemart.ini (as I don't use SEF) from the /public_html/administrator/language/ folder

I then updated by changing all the "Manufacturer/s" (in " " / lower case after the COM_...) and re-uploaded the file to /public_html/administrator/language/overrides

But when I browse to my site I still get the problem.

I have attached a screenshot showing the problem.

Many thanks

Chris

[attachment cleanup by admin]

jenkinhill

Is that a commercial theme with their own VM overrides?

For language overrides you should just need a simple file with your changes.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

brycom

Hello,

It is a Theme I purchased.

The only files in the /public_html/administrator/language/overrides folder are the "en-GB.com_virtuemart.ini" and "index.html"

Should I edit the file "en-GB.com_virtuemart.ini" directly in /public_html/administrator/language/en-GB ?

Thanks