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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

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

This topic contains 13 replies, has 3 voices.

Last updated by Kor 1 year, 8 months ago.

Assisted by: Kor.

Author Posts
September 4, 2023 at 5:25 pm #14338789

laura-dY

I have a gravity form and in the error messages, it translates the bit "the following fields are missing" but when it lists the fields, they aren't translated. I searched the strings and the only ones I can find are already translated.

September 4, 2023 at 5:38 pm #14338877

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

Here is the ticket. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

September 5, 2023 at 8:22 am #14340963

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I suspect some language files are overwriting the strings.

We apologize for the inconvenience, but in order to proceed with troubleshooting, we kindly request a site snapshot. Alternatively, with your permission, we can create a snapshot on our own.

For this purpose, we typically recommend using the free plugin "Duplicator." If you are already familiar with how Duplicator works ( https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To assist you further, please follow these instructions:
Watch the Duplicator instructions video: hidden link

Refer to the instructions provided by WPML on how to provide supporters a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

If the archive file exceeds 400MB in size, please utilize Duplicator's file filters to exclude the cache, wp-uploads directory, media, and archive files.

Once you have the archive file, please share the link with us. You can use services such as Google Drive, Dropbox, or similar platforms as the snapshot file will likely be large.

Please note that your next reply will be private, visible only to you and me. You can paste the link to the file there. Rest assured that once the issue is resolved, I will delete the local site.

September 5, 2023 at 12:44 pm #14344369

laura-dY

I am struggling to get a backup with duplicator. I keep getting server time out errors. But I backup regularly with UpdraftPlus. Can you use that, by any chance?

September 6, 2023 at 4:29 pm #14354087

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

I appreciate your patience.

I have successfully created a duplicator copy of the site and managed to replicate the issue on our local development environment. I will investigate further and provide you with a prompt update.

September 6, 2023 at 5:01 pm #14354283

laura-dY

That's great, thank you.

September 21, 2023 at 6:54 pm #14441783

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I have feedback and could you please try the solution below and see if it helps?

Open .../wp-content/plugins/gravityforms/includes/fields/class-gf-field.php.

Look for line 818.

Change:

$label          = $custom_label ? $custom_label : $this->get_input_property( $input, 'label' );

For:

$label          = $custom_label ? $custom_label : $this->get_input_property($input, 'label');
				if (class_exists('SitePress')) {
					do_action('wpml_register_single_string', 'gravityforms', 'Error - ' . $label, $label);
					$label = apply_filters('wpml_translate_single_string', $label, 'gravityforms', 'Error - ' . $label);
				}

Once you've done that, try translating the strings and see if it works.

September 21, 2023 at 10:30 pm #14442643

kathleenP-2

I am on vacation until the end of next week. Can you keep this ticket open and I’ll try this when I get back?

September 24, 2023 at 3:15 am #14451501

laura-dY

I am on vacation until the end of next week. Can you keep this ticket open and I’ll try this when I get back?

September 25, 2023 at 6:41 am #14454559

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Don't worry if the ticket is closed which happens if there are no replies within a week, we can always reopen this ticket by contacting one of the support channels.

September 28, 2023 at 5:32 pm #14483935

laura-dY

This is my first chance to review your response. You want me to change a file within the gravity forms plugin? Is this just to test something because any change I make to the plugin files will be overridden when the plugin gets an update.

September 28, 2023 at 6:12 pm #14484113

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for getting back to us.

This is a temporary solution to address this problem, and our development team is currently in discussions with the plugin author to incorporate this fix into the upcoming plugin update.

September 29, 2023 at 12:12 am #14485119

laura-dY

Understood. I tested this in my local development environment and it works. I'll wait then until Gravity Forms makes its update before changing this on my production site.

September 29, 2023 at 7:03 am #14485839

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Alright then, if you need anything further, feel free to open a new ticket/chat.

The topic ‘[Closed] gravity form error messages not translated’ is closed to new replies.