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)