Search bar translation


Do you know why the french translation of the search bar widget does not work ? It doesn’t work since a 1.9.x version.

Thanks you for your theme :smiley:

Hi @angristan,

I hope you are well today and thanks for posting here.

Could you please try using latest version of Sparkling theme?

Are you translating the placeholder text “Search…” in the search widget?

Could you please share me your translation po file so that i can troubleshoot it?

Kind Regards,

Hello, I’m using the latest version. (with the original .po Fr file)

I want to get the french placeholder.

thanks for your help

I have the same issue : the search default value is set to ‘Search…’ regardsless of the content in the fr_FR.PO file (i have uncomment the 2 lines
#~ msgid “Search…”
#~ msgstr “Rechercher…”

looking at (searchform.php) i wonder why the default value can be “Search…” i must look at the wrong place !
<input type=“text” class=“form-control search-query” placeholder="<?php echo esc_attr_x( ‘Search…’, ‘placeholder’, ‘sparkling’ ); ?>" value="<?php echo get_search_query(); ?>" name=“s” title="<?php echo esc_attr_x( ‘Search for:’, ‘label’, ‘sparkling’ ); ?>" />

Hi There,

I could confirm the issue on my test site by using the translation file fr_FR.po

I found this is happening because the translation of the text “Search…” is marked as fuzzy in the translation file fr_FR.po as shown in the attached screenshot.

I have notified this to the theme developer so that it can be fixed.

In the meanwhile to fix, please try using the attached modified fr_FR.po and files by adding them in to your following theme directory.


Best Regards,

Great, it works fine for me
Thanks a lot

You are most welcome here :slight_smile:

Thank you very much :smiley:

You are too always welcome here :slight_smile: