Multilingual Support
Enhance the accessibility of Product Search for WooCommerce by leveraging multilingual support. The plugin seamlessly integrates with WPML and Polylang plugins to enable translations for diverse audiences.
Translate with WPML:
- Navigate to your WPML > String Translation.
- Select "screets Product Search" from the "In domain" dropdown.
- You will now see a list of translations that appear in the widget on the front-end.
Translate with Polylang:
- Go to Languages > String translations.
- Select the "screets Product Search" group.
- Here, you will find a list of translations that appear in the widget on the front-end.
Adding Your Own Translations:
To add your own translations:
- Create a
.mo
file for your language. The file should be namedscxps-{locale}.mo
, where{locale}
is the code for the language and region (for example,tr_TR
for Turkish as spoken in Turkey). - Place the
.mo
file in thewp-content/languages
directory of your WordPress installation. - WordPress will automatically use it to translate the plugin's strings when the site's language is set to the corresponding language.
- Remember to configure the site language from the WordPress settings (Settings > General > Site Language).
Utilize the multilingual capabilities provided by WPML and Polylang to reach a broader audience and create a more inclusive search experience on your WooCommerce store.