Post by Wdg » Fri Jul 16, 2021 4:19 am

Hoe kan ik de tekst "--- Please Select ---" in het selectievakje van de Productopties aanpassen? Onder Catalog/Language/Dutch/Common of .../Product kan ik hem niet vinden. Ook niet in de overige php bestanden. Ga ik via Chrome een "inspectie" uitvoeren dan zie ik de bewuste engelse tekst links staan. Echter in welk bestand kan ik dan deze tekst aanpassen?

Wdg
Newbie

Posts

Joined
Sat Feb 06, 2016 3:16 am

Post by by mona » Fri Jul 16, 2021 5:11 am

Please always provide your OC version - it is required for this.
It is not common it is general.

since some point in OC2
catalog/language/en-gb/en-gb.php

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by Wdg » Fri Jul 16, 2021 5:31 am

OC 2.0.1.0

Wdg
Newbie

Posts

Joined
Sat Feb 06, 2016 3:16 am

Post by by mona » Fri Jul 16, 2021 5:33 am

catalog/language/english/english.php

ie in the root of the language folder itself.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by Wdg » Sat Jul 17, 2021 3:20 am

thanks for your reply. but it doesn't work. I found the english.php in this location : /webspace/httpdocs/leefathome.nl/catalog/language/english
and thange the text.

// Text
$_['text_home'] = '<i class="fa fa-home"></i>';
$_['text_yes'] = 'Yes';
$_['text_no'] = 'No';
$_['text_none'] = ' --- None --- ';
$_['text_select'] = ' --- maak uw keuze --- ';
$_['text_all_zones'] = 'All Zones';
$_['text_pagination'] = 'Showing %d to %d of %d (%d Pages)';
$_['text_loading'] = 'Loading...';

but it's not working. Do you have any other suggestion?

Wdg
Newbie

Posts

Joined
Sat Feb 06, 2016 3:16 am

Post by by mona » Sat Jul 17, 2021 3:39 am

First my apologies it is
catalog/language/default.php
in 2.0.1.0 and 2.0.1.1 it changed in 2.0.2.0

Second I have double checked and it does work
Screen-Shot-2021-07-16-at-20.33.11.png

Screen-Shot-2021-07-16-at-20.33.11.png (135.59 KiB) Viewed 713 times

Third maybe you are using a language pack - you will have to change all the language pack

Forth maybe you have caching on your site - you will need to clear that - if it is your server you will need to ask them to clear it.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 49 guests