News:

Support the VirtueMart project and become a member

Main Menu

How to rename system words, like a word "product" to "school"

Started by rrost786, May 25, 2012, 02:49:57 AM

Previous topic - Next topic

rrost786

Hi! I'm a fresher and not good in English, so it is hard to find a similar subject here. So do not troll me, please  ;D
There are some system words in product list, like "product name", "product category" in sort field, or "product details" below the product.
The final product on my site are schools, and school - it is not a commodity (in my situation, at least  :D).
I will be very grateful if anybody could help me to rename it

jjk

First you need to install an editor like i.e. 'Notepad++' (free) and set the encoding to "UTF-8 without BOM".
Then I would recommend to use a language override.

- locate your frontend language files - 'Overrides' folder. There should be an 'en-GB.override.ini' file already that contains only the usual header information for language files but doesn't contain language keys/strings yet (unless you added some overrides already).

- In your case I would add the following lines below the header (copied from the original language files and 'manufacturer' replaced by 'School'):

COM_VIRTUEMART_PRODUCT_DETAILS_MANUFACTURER_LBL="School: "
COM_VIRTUEMART_SEARCH_ORDER_MF_NAME="School Name"
COM_VIRTUEMART_SEARCH_SELECT_ALL_MANUFACTURER="All Schools"
COM_VIRTUEMART_SEARCH_SELECT_MANUFACTURER="Select School"

After that save the file encoded as UTF-8 without BOM.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations