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)
Tagged: Exception
This topic contains 12 replies, has 3 voices.
Last updated by Andreas W. 9 months, 1 week ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
March 7, 2024 at 10:58 am #15383674 | |
Dimitri |
In notifications emails, the shortcode {all_fields} return all fields with labels and answers. Labels are correctly translated See notification email screenshot attached Regards, |
March 7, 2024 at 2:24 pm #15384902 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Hello, 1.- Could you tell me where this shortcode comes from? 2.- Also, have you tried translating these strings in WPML -> String Translation or by following this guide? https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/ Regards, |
March 7, 2024 at 2:25 pm #15384903 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Do I understand right that this is a request about Gravity Forms? If so, please confirm if you followed this workflow when translating your form: Best regards |
March 12, 2024 at 1:44 pm #15399728 | |
Dimitri |
Hello, These shortcodes are called "smart tags" in wpforms. Thank you |
March 12, 2024 at 4:08 pm #15400641 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Are you following this workflow to translate the form? As those are form option fields, did you try to search the strings on the WPML Translation Editor by using this search option? |
March 12, 2024 at 5:31 pm #15400948 | |
Dimitri |
Yes, off course I did. All "Smart tags" results are always in main language and are never translated. All my wpforms are correctly translated with WPML. I invite you to try on a test environment. Regards |
March 12, 2024 at 6:18 pm #15401085 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the test site 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 The private response form looks like this: Next time you reply, click "I still need assistance." Video: 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. Best regards |
March 13, 2024 at 9:12 am #15402618 | |
Dimitri |
Hello, I'm sorry but this website is critical with many cronjobs. We can not give any access to this website in production. It is very easy for you to replicate this on a temporary test website. Test the form in secondary language and you will receive an email with fields answers untranslated. Regards |
March 13, 2024 at 9:49 am #15402846 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Sure, but I can't find any problem yet. One-click login: See WP Mail Logging. Please try to replicate the problem there and let me know afterward. |
March 13, 2024 at 4:23 pm #15405518 | |
Dimitri |
Hello, Easy to replicate. In the email, result in email for the multi choices field is in English and not in DE. See attached image Regards |
March 14, 2024 at 12:03 pm #15409604 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
This issue has already been reported internally and our developers are working on a fix in an upcoming version of WPForms Multilingual. The following workaround should currently solve the problem: Please make a backup copy of the website and database beforehand. In the file wp-content\plugins\wpml-wpforms\classes\Hooks\WpForms\Notifications.php line 55: Comment out the following line: Change the line: $field['value'] = $this->getFieldValue( $field, $entry['fields'][ $key ], $formPostFields[ $key ], $translatedFields[ $key ] Change it to: //$field['value'] = $this->getFieldValue( $field, $entry['fields'][ $key ], $formPostFields[ $key ], $translatedFields[ $key ] If this workaround doesn't help, please let me know. |
March 14, 2024 at 12:49 pm #15409965 | |
Dimitri |
In english please |
March 14, 2024 at 2:02 pm #15410426 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
My apologies, I have translated my previous comment now. |
The topic ‘[Closed] Shortcode {all_fields} do not translate answers in notification email’ is closed to new replies.