Skip Navigation

[Resolved] taxonomy traduction problem

This support ticket is created 5 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

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+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by olivierF 5 years, 4 months ago.

Assisted by: Nigel.

Author
Posts
#1333293
capture.jpg

Hello,

I created a custom post type (project) with a taxonomy (type of project) Custom post types are encoded in English or French.
I would be able to post on the page in french all the projects (english and french) with the taxonomy displayed in french.
And on the page in English I would like to display all French and English projects with the taxonomy displayed in English.
I translate the taxonomy from French to English but when I encode a project in French the taxonomy is not translated into English and vice versa.

#1333457

I do not understand what I have to do with this. I have a custom post type 'project' and custom taxonomy 'project type'

#1333585

Nigel
Supporter

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

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

The only thing you need to edit in that code is the ID of the form which you use to publish posts.

The code snippet will create duplicates of that post.

Try editing the submitted post in the back end and check that the duplicate exists, and check when you edit the duplicate that it has the translated taxonomy terms assigned.

If so, that should be all you need.

#1333599

My issue is resolved now. Thank you!
I use finaly JS for traduct taxonomy .
Like this :

  $('.my-taxonomy-slug').each(function() {
            var text = $(this).text();
            $(this).text(text.replace("taxonomy title", "new taxonomy title"));
        });