Skip Navigation

[Resolved] WPML view translation

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.

This topic contains 4 replies, has 2 voices.

Last updated by Dev 1 year, 1 month ago.

Author
Posts
#2657373

Dev

Tell us what you are trying to do?
Display a translated version of a view

Is there any documentation that you are following?

Is there a similar example that we can see?
hidden link

The view under 'Our team' disappears in the French translation (automatic)

What is the link to your site?

#2657591

Nigel
Supporter

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

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

Hi there

It's difficult to tell why there is nothing output on the translated page from the "Our team" View just looking at the front end.

Examining the page markup, I'm guessing that this is a View made with the legacy editor and then inserted onto this page using a View block.

I can see that the View markup appears on the page, but that there is no content to output.

That leads me to suspect that whatever post type is being queried to display the team members, those posts have not been translated to French, and so on the French page when querying team members there are none to display.

If that is the case then you would either need to translate them, or update the WPML translation preference for that post type to translate with fallback, so that the original English versions will be shown on the French page.

But I could be wrong. If so, we'd need access to your site to take a closer look at what's going on, if that's okay.

Let me mark your next reply as private so that we can get log-in credentials from you—you may want to create a temporary admin user for us to use that you can later delete. And be sure to have a current backup of your site.

#2657677

Dev

The posts have been translated using WPML's automatic translator.

Do you think the issue is that we are using legacy Toolset views instead of Toolset Blocks?

#2657711

Dev

After some testing, it seems like it only displays Views that are not filtered by taxonomy. Is there a way to display a translated view that has been filtered?

#2657713

Dev

After some testing, it looks like a translated version of the view won't displayed if its filtered by a category. An unfiltered view displays fine. Is there any way around this?