View Product Page

Manual localization

Translate through our easy-to-use platform!

If your language is not included in the plugin package, no worries, you can translate it on your own thanks to our platform. Go to translate.yithemes.com and just follow three simple steps:

Once you’re done with translating, you will be able to export your translation as a file that is ready to be uploaded into the languages folder of your plugin package and start using it immediately.

Don’t forget to change the language of your WordPress site from Settings > General > Language to make sure the translation shows up.

In the meantime, our Translation team will review your translation and once approved, it will be made available in the plugin package, so you will be able to always find it whenever you update the plugin!

So, let’s start from here: translate.yithemes.com and for a detailed guide on how to use our Translate platform, please, refer to this page.

Translate with Poedit

If you prefer translating using Poedit, a free translation editor software, you can consider this as an alternative option.

The original language file of the plugin is yith-woocommerce-ajax-navigation.pot and it is included in the "languages" folder of the plugin. If it does not include your own language you have to translate following these steps.

Download Poedit, the software through which you can translate the plugin text strings. Now open the file yith-woocommerce-ajax-navigation.pot and click on the "Create new translation" button.

Select the language in which you want to translate the plugin.

Now translate the strings one by one. Once finished, click on the "Save" button and rename the file adding the slug of the plugin to the suggested file name (e.g., yith-woocommerce-ajax-navigation-it_IT).

If everything worked fine, the .po and .mo files will be created automatically in the "languages" folder of the plugin.

Don’t forget to change the language of your WordPress site from Settings > General > Language to make sure the translation shows up.

WPML Configuration

Getting started

First of all, you need to purchase the WPML Multilingual CMS package as it includes the WooCommerce Multilingual, String Translation and Translation Management modules.
These modules are required to translate your WooCommerce along with YITH WooCommerce Ajax Product Filter strings.

Configuring WPML

Check out WPML’s getting started guide to learn more about setting up WPML and translating your website content.

You might also want to refer to WPML’s WooCommerce Multilingual documentation to know more about running your WooCommerce store with several languages and currencies.

Scanning and registering YITH WooCommerce Ajax Product Filter strings for translation

To translate YITH WooCommerce Ajax Product Filter strings you need to scan the plugin in order to register the strings for translation.

You can do this by going to WPML -> Theme and plugins localization.

Under the Strings in the plugins section select the YITH WooCommerce Ajax Product Filter then click the Scan selected plugins for strings button.

Translating YITH WooCommerce Ajax Product Filter Strings

With WPML you can translate the YITH WooCommerce Ajax Product Filter strings in the desired language.

When we talk about strings, we are referring to all those labels and related contents, from option and widget names to all the texts shown to users with the plugin features.

Go to WPML -> String Translation. You can find all the strings that WPML registered for translation under YITH WooCommerce Ajax Product Filter text-domain. In our example, the plugin text-domain is "yith-sample-plugin".

You can also look up the any string that you want to translate using the Search for field.

To learn more about translating string check WPML’s guide on String Translation.

To translate the strings, simply click the plus icon under the language you want to translate your string into. Fill in the translation then click outside the translation field to save the translation.

Now the string will be correctly displayed in the selected language.

In case you can’t find the strings you want to translate on the String Translation page, check out WPML’s guide on finding strings that don’t appear on the String Translation page.

CONCLUSIONS

WPML offers to users its language selector as a drop-down list of languages: if you are searching for something different, you can always go to this page for further information.

For more information about the WMPL configuration, please read the official documentation.

How to translate a preset with WPML

Firstly, make sure your shop has been correctly translated and all translations have been assigned to products, categories, tags, and attributes using the following WPML plugins:

  • WPML Multilingual CMS
  • WPML String Translations
  • WooCommerce Multilingual & Multicurrency

Then, after configuring your filter preset in your language and adding the shortcode or block to the page you want to filter, for example, the Shop page, you need to translate the preset. This is essential for users visiting your shop in a language that is not the default one to see the filters.

Now, to translate the preset, go to WordPress > YITH > Ajax Product Filter > Filter Presets and edit the preset you want to translate.

At the bottom of the preset, you will find a set of options to translate it:

The options are the same as you would find for any post.
In the following example, we create a duplicate translation from the original preset:

Duplicate translation
Translation duplicated

At this point, you can edit the translation of the preset.

Edit the preset translation


Please note that the terms selected for the preset in the default language will not be selected for the translation too, so it might be necessary to re-populate some filters.

After that, the filter preset will show on the shop page (regardless of the language), and users will be able to properly filter the products.

Shop page example
Filtered products example