Skip Navigation

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

Problem:
The client is using the Divi theme along with a plugin called "Divi contact form helper" to add more options to the contact form module. However, when the "multilingual languages" option is enabled in the plugin, the contents of the contact form, specifically the "choose files/upload files" button, are not being translated into French.

Solution:
Firstly, we recommend increasing the WordPress Memory Limit as the current limit is below the WPML minimum requirements. You can do this by adding the following code to your wp-config.php file, just before the /* That’s all, stop editing! Happy publishing. */ line:

/** Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');<br />define('WP_MAX_MEMORY_LIMIT', '256M');

Next, follow these steps:
1. Disable the Multilingual language option in the "Divi contact form" plugin settings.
2. Navigate to WPML-> Theme and plugins localization, select the plugin, and scan it.
3. Go to WPML-> String Translation.
4. Click on the "Translate texts in admin screens »" link.
5. Search for the needed strings.
6. Select the strings and click on the "Add to String Translation" button.
7. Click on the "Return to String Translation" link.
8. Translate the strings, clear the cache, and check the front end.

For more information on translating texts in admin screens, please refer to our guide: Translating texts in admin screens.

Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues at WPML known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket: 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 3 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 4 months ago.

Assisted by: Mohamed Sayed.

Author Posts
January 16, 2024 at 9:55 am #15188649

insiaT

I use Divi and I installed a plugin called "Divi contact form helper" to enable more options on the contact form module.

However, when I enable "multilingual languages" in the plugin, the contents of the contact form are not translated into French.

To be specific, I installed this plugin to enable "upload file" option in the contact form.

Hence it enabled an option called "choose files/upload files", now this text and the text related to this button are not translating into French. ( attached screenshots )

Is there a way I can do this?

There is nothing present in the plugin's documentation about WPML. hidden link

2.png
1.png
January 16, 2024 at 11:13 am #15189387

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

1. Please increase the WordPress Memory Limit. According to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML is 128Mb. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

2. Try the following and let me know if that helps:

- Disable the Multilingual language option in the "Divi contact form" plugin settings hidden link
- Go to WPML-> Theme and plugins localization, select the plugin and scan it
- Go to WPML-> String Translation
- Scroll down and click on the "Translate texts in admin screens »" link
- Search for the needed strings
- Select the strings
- Click on the "Add to String Translation" button
- Then click on "the « Return to String Translation" link
- Translate the strings, clear the cache, and check the front end

Kindly check our guide to know more about translating texts in the admin texts screen. (https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/)

Kind regards,
Mohamed

January 18, 2024 at 4:37 pm #15201398
insiaT

It worked Mohammed.

I do have other doubts/problems.

I want to show just "Français" and not "Français (french)" for the language in my header. I edited the settings in the plugin (attached screenshot) but I still don't see it as just "Français".

Also, I don't see the flags for the respective language in the header navigation. For example, the UK flag for "English" and France flag for "French"

New threads created by Mohamed Sayed and linked to this one are listed below:

https://wpml.org/forums/topic/split-customizing-the-language-switcher/

2.png
1.png
January 18, 2024 at 7:59 pm #15202067

Mohamed Sayed

Hi,

I'm glad to hear that the first issue was resolved.

We handle one issue per ticket for better support, so I created a new ticket for the other issue you mentioned.

Kindly mark this ticket as resolved and we will continue the discussion here: https://wpml.org/forums/topic/split-customizing-the-language-switcher/