Permalink Manager is the only plugin that allows to easily translate or define custom permalink structures per language in either WPML by Sitepress or Polylang plugins.
Some of the functionalities presented in this post are available only in Permalink Manager Pro.
Buy the plugin here.
Although it is possible to manually translate all the post & term permalinks using URI editor (here you can find more info), it would be a very time consuming process. The permalink bases can be translated automatically and different structures can be used for different content types in different languages.
This might be extremely helpful if you would like to for instance translate WooCommerce bases. Below you can find some sample example showing how the permalinks can be translated. Of course all the permastructures can be fully adjusted.
Likewise WooCommerce permalinks, you should follow the instructions also with other post types & taxonomies if you would like to translate their permastructures.
-- ORIGINAL PERMALINKS (English) -- # Product categories: http://example.com/product-category/polo-shirts/ # Product tags: http://example.com/product-tag/cotton/ # Products: http://example.com/product/plain-casual-t-shirt/ -- TRANSLATED PERMALINKS (Spanish & Polish) -- # Product categories : http://example.com/categoria-producto/camisas-de-polo/ http://example.com/kategoria-produktow/koszulki-polo/ # Product tags: http://example.com/etiqueta-producto/algodon/ http://example.com/tag-produktow/bawelna/ # Products: http://example.com/producto/plain-casual-t-shirt/ http://example.com/produkt/zwykly-t-shirt/
Translate the permastructures
If you have already installed and activated Permalink Manager you should go to Permastructures section that can be found in “Tools -> Permalink Manager -> Permastructures“.
Then find the post types & taxonomies settings and click on “Show additional settings” to display the full list of permastructure fields. You do not need to set the new permastructure for each language. If you decide not to do it and keep the permastructure field for particular language empty, the default language settings will be applied.
Below you can find an example where WooCommerce permalink structures are translated, but this would work in a similar way also with other custom post types & taxonomies.
Apply the new translated permalink settings to existing posts and terms
After the new settings are saved, they will be automatically applied to all new posts and terms. If you would like to use new permalink structure with translated slugs also for existing posts and terms, you will need to regenerate the old permalinks using “Regenerate/reset” tool available in “Tools -> Permalink Manger -> Tools” section. You can find a more detailed instructions on how to reset them here.