- This topic has 1 reply, 2 voices, and was last updated 4 years, 10 months ago by .
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Cannot translate to spanish
Tagged: translation
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.
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.
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.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy