Skip Navigation

[Resolved] Translate views

This support ticket is created 7 years, 6 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 7 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#518850

I have made a website with wp-types. Then I have installed WPML.
I translated a French page with a views to an English page.
In the page content I have
[wpv-view name="archives-des-etablissements"]
But on the front site, my English page shows Aucun établissement trouvé (No results found)
It works well in French.

How to have to results show up ?
At least in French
Even better how to translate the results for them to show in English ?

I have read
https://wpml.org/documentation/getting-started-guide
https://toolset.com/documentation/translating-sites-built-with-toolset/

But I cannot even understand the CONCEPT on how to translate:
- The title of the custom post type
--- in French, called Etablissement, in English should be called Establishment
- Then do I need to create a new view ?
- Then do I need to replace the view in the page ?
I already have [wpml-string context="wpv-views"]text[/wpml-string] in my views, but the views just don't appear (no results found)

Also, French URL = hidden link
English should be hidden link

How ?
Four months late on this project now...

#518936

Dear mylene,

To translate the content with WPML plugin, please check WPML document:
translating your content:
https://wpml.org/documentation/translating-your-contents/
There you can translate the post title into other languages

To translate the view, you don't need to create another view, you can put the same view into different languages pages.

If you need to translate the strings in the view, you can use WPML shortcode [wpml-string], see WPML document
https://toolset.com/documentation/translating-sites-built-with-toolset/translating-content-templates-wordpress-archives-views-cred-forms/