Skip Navigation

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

Problem:
The client was unable to translate certain elements of a form created with the 'drag-and-drop-multiple-file-upload-contact-form-7' plugin, which seemed not to fully support multilingual functionality. Additionally, there was confusion about multiple form plugins being used simultaneously.
Solution:
We first clarified the usage of multiple form plugins and advised the client to check for another 'Contact Form' entry in the dropdown if both 'Contact Form 7' and 'WP Forms' were installed. For the translation issue, we identified that the problematic text was part of the included translation file of the plugin but lacked translation for the button. We suggested replacing the strings directly through the WPML String Translation interface, which could be accessed at WPML String Translation page. However, since the translation button itself was not adhering to i18n standards, we recommended contacting the plugin authors for a permanent fix.

If this solution does not resolve your issue, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum.

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 13 replies, has 2 voices.

Last updated by Marcel 1 year, 1 month ago.

Assisted by: Marcel.

Author Posts
May 14, 2024 at 12:34 pm #15625326

andreasN-23

and also here: This one I wouldn't know where to translate. I didn't find it in the string translation nor in the advanced translator

May 14, 2024 at 12:41 pm #15625360

Marcel
Supporter

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

Timezone: Europe/Madrid (GMT+02:00)

Hi,

In that case, you are loading a Contact Form 7 form. You can translate it as described here: https://wpml.org/documentation/related-projects/using-contact-form-7-with-wpml/#translate-contact-form-7-wpml. Make sure that you have installed our Contact Form 7 Add-On to add compatibility to it.

Best Regards
Marcel

May 14, 2024 at 1:02 pm #15625459

andreasN-23

Hi Marcel, it is indeed not installed. When installing:

https://wpml.org/documentation/related-projects/using-contact-form-7-with-wpml/

will it screw up my already created forms?

May 14, 2024 at 1:38 pm #15625636

Marcel
Supporter

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

Timezone: Europe/Madrid (GMT+02:00)

Hi,

No, you can also install it afterwards. The fact that the forms have already been created doesn't pose a problem, and the code to connect the IDs can run without issues.

Best Regards
Marcel

May 15, 2024 at 7:48 am #15628078

andreasN-23

I installed the contact form 7 wpml but there is nothing to translate...

Bildschirmfoto 2024-05-15 um 09.47.08.png
May 15, 2024 at 7:55 am #15628104

Marcel
Supporter

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

Timezone: Europe/Madrid (GMT+02:00)

Hi,

the source code says "Contact Form 7", and the top bar of your screenshot is "WP Forms". Do you have 2 form plugins installed? Please check if you can find another "Contact Form" entry in the dropdown. If you have 2x plugins installed, you might not see the data from Contact Form 7.

Best Regards
Marcel

May 15, 2024 at 8:19 am #15628211

andreasN-23

no, actually I don't see any. But strangely, when opening contact froms, there is none there. I wonder if the installation of contact form multilingual after all screwed up the old forms?

the forms still work in the front end but in the backend, they are not visible anymore. That might be also the reason I don't see anything to translate?

Bildschirmfoto 2024-05-15 um 10.17.52.png
May 15, 2024 at 8:22 am #15628261

andreasN-23

maybe it would be easier if you could login and have a look before we continue of writing back and forth

May 15, 2024 at 9:25 am #15628826

Marcel
Supporter

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

Timezone: Europe/Madrid (GMT+02:00)

Hi,

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Best Regards
Marcel

May 15, 2024 at 3:11 pm #15631240

Marcel
Supporter

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

Timezone: Europe/Madrid (GMT+02:00)

Hi,

thansk for the access. I ran some troubleshooting options; the forms are back now: hidden link.

You can translate them now as described here: hidden link.

Best Regards
Marcel

May 16, 2024 at 7:53 am #15633329

andreasN-23

Hi Marcel, thanks for the help. I did translate it, but I struggle to find where I can change the circled text in the screenshot attached.

Bildschirmfoto 2024-05-16 um 09.51.42.png
May 16, 2024 at 10:29 am #15634416

Marcel
Supporter

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

Timezone: Europe/Madrid (GMT+02:00)

Hi,

that content is handle via a plugin called "drag-and-drop-multiple-file-upload-contact-form-7, which seems to be not fully supporting multilingual use.

The text you mentioned is part of the included translation file of that plugin, but there is no translation for the button included.

I just tested and replacing the strings worked, it will output a "DE" before the string. You can change the string here: hidden link.

Other strings are coming from here: hidden link, you can also change them here.

But the Translation button itself seems to be not translatable right now. It needs to follow i18n developer standards to be translatable for a translation plugin. I recommend you contacting the authors about that.

Best Regards
Marcel

May 17, 2024 at 9:32 am #15638510

andreasN-23

Okay, thanks Marcel, I am going to contact the developers about the button.

But I struggle still with the contact form in Firefox. While I can upload files without a problem in the english original version of the page, I cannot do so in the german version.

Check out screenshot. Does this

[mfile your-file filetypes:jpg|jpeg|png|gif|bmp|tiff|pdf|txt limit:15mb]

need to be translated also somewhere? I believe the upload in the german version doesn't work because this is missing.

Thanks
Andreas

Bildschirmfoto 2024-05-17 um 11.29.01.jpeg
Bildschirmfoto 2024-05-17 um 11.28.45.jpeg
Bildschirmfoto 2024-05-17 um 11.28.32.png
May 17, 2024 at 3:34 pm #15640339

Marcel
Supporter

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

Timezone: Europe/Madrid (GMT+02:00)

Hi,

Yes, I checked the embedded form, and this shortcode was not included. I searched for "filetype" on the search box and finished the translation with 100%: hidden link.

It's now active on hidden link (see English as a reference here: hidden link.

Does it work for you? If not, you can also copy the same code to German to the form on the link above as a fast workaround.

Best Regards
Marcel