Forums / Templates, Stylesheets, Page Layout / language file for manufactures dropdown?

language file for manufactures dropdown?

Locked

Views: 1,299

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
20 May 2009, 4:03 PM
#1
wilbo avatar

wilbo

New Zenner

Join Date:
May 2009
Posts:
43
Plugin Contributions:
0

language file for manufactures dropdown?

Hi there,

I've asked this a few times now but got no reply, what is the name of the language file for the manufactures dropdown box and where is it located?

Thanks for you time,
Wilbo

20 May 2009, 4:07 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: language file for manufactures dropdown?

There isn't one... the manufacturers' data is stored in the database.

20 years a Zencart User

21 May 2009, 10:05 AM
#3
wilbo avatar

wilbo

New Zenner

Join Date:
May 2009
Posts:
43
Plugin Contributions:
0

Re: language file for manufactures dropdown?

Ah, the problem I have it that my site sells art so I need to change the bit that says "All Maufacturers" to "All Artists".

Will I have to go into the database to change this?

21 May 2009, 10:13 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: language file for manufactures dropdown?

Okay I see what you want...

These CONSTANTS are called language defines.

When I used ADMIN>>>TOOLS>>>DEVELOPERS TOOLKIT to do a search for this CONSTANT, I find that it occurs as follows:

/includes/languages/english/advanced_search.php

Line #31 : define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

/includes/languages/english/advanced_search_result.php

Line #42 : define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

/includes/languages/english/index.php

Line #47 : define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

... So you'll need to edit the defines in the three files shown above.

HOWEVER... you need to FTP these files to your local machine, edit them on your local machine, then FTP the edited version s to the OVER-RIDE folders of your template.

EG:

For: /includes/languages/english/index.php

Edited file goes to: /includes/languages/english/YOUR_TEMPLATE/index.php

20 years a Zencart User

21 May 2009, 10:15 AM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: language file for manufactures dropdown?

PS: ...

This is what you will need to edit on each define statement:-

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

Becomes:-

define('TEXT_ALL_MANUFACTURERS', 'All Artists');

You DO NOT change the UPPER_CASE_CONSTANT

20 years a Zencart User

21 May 2009, 1:51 PM
#6
wilbo avatar

wilbo

New Zenner

Join Date:
May 2009
Posts:
43
Plugin Contributions:
0

Re: language file for manufactures dropdown?

Thanks Schoolboy,

I didn't realise that the same thing could be in more that one language file.

Thanks again:smile: