Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 10 replies, has 2 voices.

Last updated by Andreas W. 9 months, 1 week ago.

Assisted by: Andreas W..

Author Posts
March 15, 2024 at 7:12 pm #15415911

colasB

Tell us what you are trying to do?

I created a floating form (interactive chatboat) under the greenform's plugin. Then, we implement it under Appearance > Widget.

The issue is that we need this floating widget form to be translated when a user switches the language with WPML switch.

If there is a workaround by creating the same form in other languages no problem, please just let us know how to implement it so that the right one appears in the selected languages.

What is the link to your site?

The form is disabled for now because of this issue. I could put it back for you to see at a specific time - do not hesitate to let me know your schedule.

hidden link

March 15, 2024 at 7:20 pm #15415916

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

Each form has its proper shortcode, which means you will need to manually create one form for each language.

It might be very possible that you can not use the WPML Translation Editor in this case. Try to create one form per language inside Green Forms.

Then use one widget per language and place the respective shortcodes into each widget or assign the widgets to "All languages" and translate the widget with WPML > String Translation.

Guide:
https://wpml.org/documentation/getting-started-guide/translating-widgets/

Best regards
Andreas

March 16, 2024 at 8:39 am #15416381

colasB

Hello,

Thanks for your answer.
How do I assign the widgets to "All languages" and translate the widget with WPML > String Translation please?

Best

March 16, 2024 at 12:21 pm #15416714

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Hello,

Each widget has a language setting inside the right sidebar at Appearance > Widgets.

By default the setting for widgets is "All languages".

On WPML > String Translation you should be able to find the widgets strings by selecting the text-domain "Widgets".

This is explained in detail and with screenshots here:
https://wpml.org/documentation/getting-started-guide/translating-widgets/

If you run into any further issues, please let me know and I can offer to have a look at the issue.

Best regards
Andreas

March 17, 2024 at 9:53 am #15418073

colasB

Hi,

Got it, thanks for your help! I understand how to make the widget available in a chosen language.

My issue is that I am using Ultimate floating widgets plugin in order to have this Azaro interactive form everywhere in my website (cf. captures).

However when I want my form to appear only in english, the floating widget still appears in french but empty (logic).

Would you have any workaround or recommendation on how I can do to have my english floating form in english and my french floating form in french?

For instance, if I put it as a simple widget without using the floating plugin where am I able to configure the display options?

Thank you

Screen Shot 2024-03-17 at 10.53.10 AM.png
Screen Shot 2024-03-17 at 10.50.08 AM.png
Screen Shot 2024-03-17 at 10.49.58 AM.png
Screen Shot 2024-03-17 at 10.44.49 AM.png
March 17, 2024 at 10:22 am #15418135

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Please read this part of the documentation that I sent earlier, which provides a short description and screenshots displaying where to set the display condition for widgets inside the right sidebar (widget options).

Documentation:
https://wpml.org/documentation/getting-started-guide/translating-widgets/#using-different-widgets-for-different-languages

---

About Ultimate Floating Widgets:

I have created a test site on which I installed the plugin for testing.

One-Click-Login:
hidden link

You can only translate the floating widget with WPML > String Translation.

Go to WPML > String Translation > Translate text in admin screens and search for:

ufw_data

This should show you all available options for this plugin and you will be able to mark the string for your title and the widget's content, then add them to WPML > String Translation and translate them.

Make sure to replace the shortcode for the form correctly - one unique form shortcode for each language.

You are further welcome to use this test site for recreating the issue, in case it still does not work out as expected.

test floating widget.png
March 17, 2024 at 10:58 am #15418191

colasB

Thanks for your support.

One question: Where can may I replace the shortcode for the form?

I do not see the shortcode anywhere in WPML > String Translation > Translate text in admin screens > ufw_data

While the shortcode should be transted here, right?

March 19, 2024 at 1:21 pm #15426533

colasB

Hi Andreas,

In case you didn't receive my previous message:

Thanks for your support.

One question: Where can may I replace the shortcode for the form?

I do not see the shortcode anywhere in WPML > String Translation > Translate text in admin screens > ufw_data

While the shortcode should be translated here, right?

Feel free to send me a video screenshot so that I will find easily and won't bother you too long.

March 19, 2024 at 2:32 pm #15426939

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

My apologies for the delay in answering, as I do not work on Sundays and Mondays.

Source: https://wpml.org/forums/users/andreas-w/

The floating widget is not responsible for the widget content in this case.

The widget is created at Appearance > Widgets and can be translated at the Text-Domain Widgets on String Translation or you can create one widget per language.

On my test site, I can find the string inside the admin text:

[widget_block][2]content

See test here:

One-Click-Login:
hidden link

To create a shortcode for testing, I used the Contact Form 7 plugin and I can not confirm any issue with that.

March 19, 2024 at 5:40 pm #15428105

colasB

No worries, rest is the best!!

I think the best option would be to give up with the floating widget and to implement one widget per language as you suggested.

I was running the following test: I added the form as a simple widget in Appearance > Widgets > Only in English - but so far it does not appear anywhere. I am not sure how to make it appear on my site.

Would you happen to know how to do so?

Thanks

Screen Shot 2024-03-19 at 6.20.42 PM.png
March 19, 2024 at 5:44 pm #15428178

Andreas W.
Supporter

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

Timezone: America/Lima (GMT-05:00)

Now, when it comes to Green Forms, I was sadly never able to test it.

I would like to invite you again to add the plugin to my test site so that I can have a closer look at it.

Maybe instead of using the Green Forms Widget, try adding it by using a shortcode.

I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.

You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.

The topic ‘[Closed] Greenform's plugin floating form needs to be translated in the switch language’ is closed to new replies.