Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

How to Translate Toolset Forms?

Solution:

Please check the documentation below:

https://toolset.com/course-lesson/translating-views-content-templates-archives-and-forms/#translating-forms

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 4 replies, has 2 voices.

Last updated by Phil Mood 8 months ago.

Assigned support staff: Christopher Amirian.

Author Posts
March 28, 2021 at 5:48 pm #8417637

Phil Mood

Hi, how do I translate placeholder, default_label and reset_label on a Toolset Form?

Example:

[wpv-control-postmeta field="wpcf-obj-referenz-number" style="height:40px;" placeholder="Ref.Nr." url_param="refnummer"]
[wpv-control-post-taxonomy taxonomy="objekt-angebot" type="select" default_label="Angebot" url_param="angebot"]
[wpv-filter-reset reset_label="Alle Immobilien anzeigen" class="my-button"]

In this case "Ref.Nr.", "Angebot" and "Alle Immobilien anzeigen" ?

Thanks

March 29, 2021 at 10:59 am #8421545

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Please make sure that you have the latest version of WPML and Toolset plugins:

- Create a backup of your website. You can use backup tools from WordPress: https://wordpress.org/plugins/tags/backup/
- Go to "WordPress Dashboard > Plugins > Add new > Commercial (tab)".
- Update WPML and its addons there.

For more information:
https://wpml.org/faq/install-wpml/#automated-updates

After that, if you add the shortcode to a normal page it will be picked up by the translation editor.

I tested that on the website below:

hidden link

I added the shortcode using the Shortcode block in the block editor. (shortcode.png)

Then I translated the page and I see the items label in the translation editor. (editor.png)

I added ES before the label of the button to differentiate between the languages.

If your use case is something different please kindly get back to us with more details, Also, Would you please kindly follow the steps below to provide the debug information?

- Go to "WordPress Dashboard > WPML > Support > Debug Information (Link)".
- Copy the Debug Information from there.
- Find the "Additional Data" section below this chat. (Check the screenshot below)
- Click on the "Debug Info" item to expand it.
- Paste the debug information into the text area.
- Click the "Send Debug Info" button.

Screenshot:
https://wpml.org/wp-content/uploads/tmp/debug_info_20.png

shortcode.png
editor.png
March 29, 2021 at 1:24 pm #8422953

Phil Mood

Hi, not sure if your workflow answer my question.

The code I have pasted, as example, is simply an extract of a Toolset Form content.
Did you create and inserted a Toolset Form or you simply pasted the code on a WP page?

Thanks

March 29, 2021 at 2:01 pm #8423311

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

I added the shortcodes to a page. But if it is part of the form you will need to follow the steps below to translate the form:

https://toolset.com/course-lesson/translating-views-content-templates-archives-and-forms/#translating-forms

If the problem persists you will need to get back to us with the debug information that I mentioned in the previous answer so we can check your setup.

Thank you.

April 8, 2021 at 3:07 pm #8494575

Phil Mood

My issue is resolved now. Thank you!