Cannot translate to spanish

Forums › Forums › Search & Filter Pro › Cannot translate to spanish

Tagged: 

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #233126

    Hello.
    I need to translate the plugin but it seems that it’s not possible.
    I’ve checked the included pot file but it only has 3 lines. Also, the text domain should be hardcoded in the translation functions (eg _e and __) but it’s using a variable, which is not recommended on gettext and prevents me from successfully scanning for strings with poedit.
    Do you have a complete .pot file that I could use as my base?
    Thanks.

    Trevor
    #233154

    The plugin does not, at this time, use a translation file, so the admin interface is only in English, sorry. For the front end, you can set the titles/headings etc of the form fields as you wish. Only the Shortcode display results method uses a template file that comes with the plugin. All other methods rely on your theme template files. Do you need to translate the strings used in our template file, if you are using the Shortcode display results method?

    See this documentation page:

    https://searchandfilter.com/documentation/search-results/using-a-shortcode/

    In the customising section, you can create a custom results.php template within your theme folder, or make results templates for individual forms (using their ID numbers). If you are using more than one language, each language of the form has its own ID number, thus allowing you to make individual language templates that you can edit yourself. The strings are found in the templates.

Viewing 2 posts – 1 through 2 (of 2 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.