Skip Navigation

[Closed] Translate Custom Taxonomies with Polylang

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 11 months ago.

Assisted by: Nigel.

Author
Posts
#2737881

Hello,

I have created my own category (German: Kantone) with Toolset, which I would like to translate into French (cantons) with Polyang.

Another problem is translating the word ‘All’. I can't find out where it comes from. I would like to translate it into German (Alle) and French (Tous des).

Here you can find the German page with the selection ‘All Kantone’ (should be: "Alle Kantone":
hidden link

And here is the French page (should be: ‘Tous des cantons’):
hidden link

I have already contacted Polylang support. Unfortunately, they could not help me and referred me to you.

Thank you very much for your help and best regards,
Michael

#2737923

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Michael

Sorry, I'm not sure I can help much here.

What I can say is that when you register custom taxonomies with Toolset, it is just the same as registering custom taxonomies using the core WordPress functions to do so (see https://developer.wordpress.org/reference/functions/register_taxonomy/), but you get to do so through the UI instead of using code.

You could disable Toolset and instead register a taxonomy with the same options and settings with code, in which case I would expect Polylang to be able to help you.

Looking at the page where you want to translate "All Kanton" to "Alle Kanton", I can see from the markup there is a search form (screenshot), but it is not a Toolset search form (the markup is different). What do you use to create that search form?

You should check how it generates the option labels (especially the default unselected option for all kanton) to confirm that it is possible to translate them, and between them and Polylang they should be able to tell you how to translate them.

I could tell you what would be required to translate the labels in WPML, but that won't help with Polylang.

#2737932

Thanks for the quick feedback. The search form is created with the plugin ‘Search & Filter PRO’. If you have any tips or ideas, I would be grateful. Otherwise I'll have to look elsewhere.

(This is a smaller web project, so Polylang is in use, next time I will use WPML for sure).

#2737944

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Sorry, "Search & Filter PRO" is not a plugin I'm familiar with, I can't comment on how to translate the labels it generates with Polylang.

If it is a Pro plugin I assume you are paying for it, so I would expect them to be able to give you some information about how to translate it.

The topic ‘[Closed] Translate Custom Taxonomies with Polylang’ is closed to new replies.