This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
the module ACF Item Divi Machine is not translated correct
Started by: robinV-14
in: English Support
Problem: The module ACF Item Divi Machine is not translated correctly. Solution: 1- Open the (app/public/wp-content/plugins/divi-machine/includes/modules/ACFItem/ACFItem.php) file else if (in_array($acf_type, $choice_acf_choice_types_explode)) { if ($acf_get['value']) : ?> With the following else if (in_array($acf_type, $choice_acf_choice_types_explode)) { if ($acf_get['value']) : // WPML Workaround for compsupp-7040 if (class_exists('Sitepress')) { $textdomain = 'WordPress'; $wpml_default_lang = apply_filters('wpml_default_language', NULL); $wpml_current_lang = apply_filters('wpml_current_language', NULL); if (is_array($acf_get['value'])) { // Iterate over each item in the array foreach ($acf_get['value'] as &$valueItem) { $string_name = 'WPML Workaround : ' . substr($valueItem, 0, 20); if ($wpml_default_lang == $wpml_current_lang) { do_action('wpml_register_single_string', $textdomain, $string_name, $valueItem); } // Apply the translation to the string $valueItem = apply_filters('wpml_translate_single_string', $valueItem, $textdomain, $string_name); } } else { $string = $acf_get['value']; $string_name = 'WPML Workaround : ' . substr($string, 0, 20); if ($wpml_default_lang == $wpml_current_lang) { do_action('wpml_register_single_string', $textdomain, $string_name, $string); } // Apply the translation to the string $acf_get['value'] = apply_filters('wpml_translate_single_string', $string, $textdomain, $string_name); } } ?> 3- Visit the page in the original language to register the strings |
3 | 13 | 5 months, 2 weeks ago | ||
Can't find a translation string
Started by: robinV-14 in: English Support |
2 | 15 | 9 months, 2 weeks ago | ||
Serach not working in Divi
Started by: robinV-14 in: English Support |
2 | 12 | 1 year, 7 months ago | ||
Payment option not able to translate
Started by: robinV-14 in: English Support |
2 | 6 | 3 years, 5 months ago | ||
Language switcher
Started by: robinV-14 in: English Support |
2 | 4 | 3 years, 10 months ago | ||
Problem with custom taxonomy slug translations
Started by: robinV-14 in: English Support |
2 | 2 | 3 years, 10 months ago | ||
Logo URL is not correct in Divi
Started by: robinV-14 in: English Support |
2 | 9 | 4 years, 3 months ago | ||
Products not showing on category page
Started by: robinV-14 in: English Support |
2 | 7 |
4 years, 3 months ago
robinV-14 |
||
Change URL category
Started by: robinV-14 in: English Support |
2 | 9 | 4 years, 3 months ago | ||
Uncaught DOMException: Failed to execute 'pushState' on 'History'
Started by: robinV-14 in: English Support |
2 | 8 | 4 years, 3 months ago | ||
Attributes swatch variation colors not visible
Started by: robinV-14 in: English Support |
2 | 2 | 4 years, 5 months ago | ||
No valid domain
Started by: robinV-14 in: English Support |
2 | 2 | 4 years, 5 months ago | ||
Country domains
Started by: robinV-14 in: English Support |
2 | 2 | 4 years, 6 months ago |