У этого пользователя нет любимых тем.
Любимые темы форума
Созданные темы форума
Состояние |
Тема
|
Сторонник | Голоса | Записи | Свежесть |
---|---|---|---|---|---|
Fatal error in secondary languages when WPML and Learndash are enabled
Начато по: marcoP-123
в: English Support
Problem: Solution: 1. Go to WPML -> String Translation. This will display the incorrect translations that are missing the 's' in the placeholder. These translations need correction to conform to the proper usage of sprintf. If you're experiencing this issue, please also try updating the LearnDash translations under LearnDash LMS > Settings > Translations. If the problem persists, contact LearnDash support for further assistance with correcting the translations containing placeholders. Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, do not hesitate to open a new support ticket with us for further assistance. |
2 | 6 | 8 месяцев, 4 недели назад | ||
Fatal error: Uncaught ValueError: Missing format specifier at end of string
Начато по: marcoP-123 в: English Support |
2 | 2 | 8 месяцев, 4 недели назад | ||
We have one issue in the string of WPML
Начато по: marcoP-123 в: Chat Support |
1 | 2 |
8 месяцев, 4 недели назад
|
||
WPML chat support ticket by marcoP-123 — 1714570115
Начато по: marcoP-123 в: Chat Support |
1 | 2 |
9 месяцев назад
|
||
Credits lost
Начато по: marcoP-123 в: Chat Support |
1 | 2 |
1 год, 8 месяцев назад
|
||
we have old translating jobs in the translation queue which we want to delete/remove
Начато по: marcoP-123 в: Chat Support |
1 | 2 |
1 год, 8 месяцев назад
|
||
FacetWP and ACF issue with translation of checkbox choices
1
2
Начато по: marcoP-123
в: English Support
Problem: FacetWP - translated checkbox labels are not rendered with shortcodes. Steps to replicate the issue The ACF phase 1. Create a field group and add a checkbox field to it. 2. In the Choices field, add at least one choice; for example like this boy : Boy. 3. Save the field group. The WordPress phase 1. Create a post and select the checkbox's choices and publish the post. The FacetWP phase 1. Go to Settings -> FacetWP. 2. Add a new Facet: Ensure to select Facet type = Checkbox and Data source = [Field group name] Field name. 3. Save and copy the shortcode. The Elementor phase 1. Edit the post with Elementor. 2. Add a Shortcode element and insert the Facet shortcode. 3. Add a `Posts` element. And under the FacetWP section `Enable FacetWP`. 4. Save the changes. The WPML phase 1. Translate the post with the Advanced Translation Editor. 2. Add translation to the checkbox labels, and complete the translation. 3. Check the translated post on the front end and see that the checkbox labels are not showing the translation. A workaround solution: 1. Take a backup of your site in case something goes wrong. 2. Add the following function to the functions.php file of your theme and save the changes. // WPML Workaround for compsupp-6751 function wpml_compsupp6751_translate_facet_display_value( $label, $args ) { if ( class_exists('Sitepress') ) { $wpml_default_lang = apply_filters('wpml_default_language', NULL ); $wpml_current_lang = apply_filters( 'wpml_current_language', NULL ); if ($wpml_default_lang == $wpml_current_lang ) { do_action( 'wpml_register_single_string', 'FacetWP', 'Facet Display Value : '.substr($label, 0, 10), $label ); } // Apply the translation to the string $label = apply_filters('wpml_translate_single_string', $label , 'FacetWP', 'Facet Display Value : '.substr($label, 0, 10) ); } return $label; } add_filter( 'facetwp_facet_display_value', 'wpml_compsupp6751_translate_facet_display_value', 10, 2 ); 3. On the front end, visit the page with the ACF fields in the original language. This will register the strings into Strings Translation. 4. Go to WPML -> Strings Translation and filter to show the FacetWP domain. Under it, you will find the strings with the name "Facet Display Value : *name". Those will be the label of the checkbox strings. Translate them into the other language. Our compatibility team has contacted the FacedWP plugin developers, and we are trying to cooperate with them to solve this issue. |
2 | 19 | 1 год, 8 месяцев назад | ||
Site will not connect, using the key
Начато по: marcoP-123 в: English Support |
2 | 2 | 1 год, 11 месяцев назад |