Support » Plugin: WP eCommerce » Translate the "Search" button text

  • Resolved nikydox


    Hi, I want to translate the “Search” text from the search button and I can’t find it anywhere:

    wp-content\languages\… NO
    wp-content\themes01\… NO

    And I also checked a lot of other folders, function.php files, .js files; I can’t find it. Can you help? Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • check

    gold_shopping_cart.php around line 582

    should be what your looking for.

    Hi, thanks for your answer. However I did not find any gold_shopping_cart.php file in wp-content/wp-e-commerce/… Where exactly is this file?

    separate folder, not the main WPEC folder

    is in the gold cart plugin folder

    Hi, thanks. I don’t have the gold cart plugin installed. Only wp-e-commerce and wp-e-commerce-grid-view.

    cool grid plugin, didnt know of that, but I have the gold one from the WPEC guys.

    well post your site………..or

    I use a plugin called firebug in mozilla firefox browser. you can select html, right click, click ‘Inspect Element with Firebug’. And it will pull up a browser with that area selected and show the DIV tag names you might search to find what your looking for.

    I then search my WPEC folder for those words.

    Has been amazingly helpful for finding these type of things to modify, including colors changes, font size changes etc.

    You need some HTML backgroud to decipher the code.

    **Comment out, try not to delete the code, then you can always go back if you mess things up.

    these are PHP pages so use this <?php /*?>code to hide<?php */?>

    Hi and thanks again. I finally managed to understad how this works. There is a code calling the search form in header.php: <?php get_search_form(); ?>. If the theme in use does not have a searchform.php file included in the main directory, WordPress uses the default one that is included in the core files. So you can create a searchform.php file with customized code. In my case I just copied the html code displayed in chrome and replaced the “search” text with the right translation.

    cool. glad you got it working

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Translate the "Search" button text’ is closed to new replies.