Home › Forums › WoodMart support forum › Translation of “Search for products”

Translation of “Search for products”

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #731522

    b.brenner
    Participant

    Hi, we are using WPML to translate our website and shop. The string “search for products” in the header search form is still in Englisch. The source language is German. I searched already all strings but I cannot find a way to translate this.

    Attachments:
    You must be logged in to view attached files.
    #731539

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Thank you for reaching out.

    The “Search for products” text is a gettext string from the WoodMart theme (text domain woodmart). WPML String Translation only lists theme strings after the theme has been scanned. That’s why you couldn’t find it in your search. Please try these steps:

    1. Go to WPML > Theme and plugins localization, select the WoodMart theme (and the child theme, if you use one) and click Scan selected themes for strings.

    2. Go to WPML > String Translation and pick woodmart in the “Select strings within domain” dropdown. Then search for Search for products.

    3. Click the translation icon and add the German text, for example “Nach Produkten suchen”. Add other languages the same way.

    4. Clear any cache (plugin, server or CDN) and check the header search again.

    Your default language is German, but the theme’s original strings are in English. If WPML doesn’t show a German translation field for this string, use the option at the bottom of the String Translation page to set the woodmart domain language to English. The German translation field will then appear.

    If the text still stays in English after this, kindly please don’t post your credentials directly in this topic. Instead, use our secure sharing service: <a href="https://secret.xtemos.com/" target="_blank" rel="noopener noreferrer">https://secret.xtemos.com/</a>

    Enter your login details there, generate a secret link, and paste that link into the Private Content area of your reply. Please do not post the secret link in the public topic reply.

    The secret link can only be opened once, so please generate a new one if it has already been accessed.

    Best Regards.

Viewing 2 posts - 1 through 2 (of 2 total)