Skip Navigation

[Resolved] Post form translation with WPML

This support ticket is created 3 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)

This topic contains 5 replies, has 2 voices.

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

Assisted by: Luo Yang.

Author
Posts
#2210559

Hello.
I have tried to use Toolset Post form with WPML.
I have found many bugs and tried two ways to translate forms:
1. String translation
 2. Form translation

Both ways do not work 🙁
1. String translation 
1.1. Wrong original language hidden link
1.2 If I use more than 1 form per page - some translations can overwrite others.
hidden link

2. Form translation have created translation of the form but it is not used.hidden link

Others bugs: hidden link

Please, give me the way to use post forms with two languages.

#2210625

Hello,

Please follow our document to translate your post form:
https://toolset.com/course-lesson/translating-views-content-templates-archives-and-forms/#translating-forms
section "Translating forms":

Forms are translated just like other Toolset elements, as described above. However, if you install WPML after creating your Toolset forms, you must resave the forms for them to appear on the WPML Translation Management page.

I have tried it in my localhost with a fresh WP installation + the latest version of Toolset plugins + WPML plugins, it works just fine.

I suggest you try to create a new post form, and follow above document to translate the post form, and test again

#2210721

I have installed WPML first.
I dont see it in the que list
hidden link

#2210751

It is abnormal, please check these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets, and test again

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

4) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page URL and form URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2210843

I have done local test.
I can translate the form after switching to WPML advanced editor.
It works when there is only one form on the page.
hidden link

Can you do simple test - one page 2 form?

#2210859

I have tried these:
1) Create two new post forms
2) Translate them into secondary language
3) Create a new page in secondary language, display above two post forms,
4) Test above page in frontend, it works fine, both forms display in secondary language correctly