Este usuário não tem tópicos favoritos.
Tópicos favoritos do fórum
Tópicos de fórum criados
Status |
Tópico
|
Apoiador | Vozes | Posts | Frescor |
---|---|---|---|---|---|
My MAIN MENU will not translate
Iniciado por: vladimirM-19 em: English Support |
0 | 4 | 3 semanas, 3 dias atrás | ||
I translated everything regarding my Main Menu
Iniciado por: vladimirM-19 em: Chat Support |
1 | 2 | 3 semanas, 3 dias atrás | ||
I am using ACF and I setup the Advanced Custom Fields Multilingual, but my field choices are not get…
Iniciado por: vladimirM-19
em: English Support
Problem: The client is using Advanced Custom Fields (ACF) with WPML and has set up the Advanced Custom Fields Multilingual. However, the field choices are not being translated in the frontend despite translating the labels in WPML>>String Translation. The features section with bullet points is not translated across all languages. Solution: We recommended using the get_field_object function instead of get_field to fetch the field data correctly. This change should allow the field choices to display the translated values. Here is the modified code snippet to implement in the functions.php file of the child theme: // Create shortcodes for individual fields without titles function generate_individual_field_shortcodes_no_title() { // List of fields to create shortcodes for $fields = [ 'living_area', 'views', 'laundry', 'bathroom', 'kitchen_and_dining', 'bedroom', 'media_and_entertainment', 'miscellaneous', 'home_safety', 'outdoor_spaces', 'family-friendly', 'parking_and_facilities', 'languages_spoken', 'nearby', 'house_rules', 'cancellation_prepayment', 'refundable_damage_deposit', 'payment_methods' ]; foreach ($fields as $field) { // Dynamically generate shortcode callback for each field add_shortcode($field . '_list', function() use ($field) { ob_start(); // Start output buffering $fields = get_field_object($field); //Get field data $options = $fields['value']; // Display labels. if( $options ): ?> <ul> <?php foreach( $options as $option ): ?> <li><?php echo $fields['choices'][$option]; ?></li> <?php endforeach; ?> </ul> <?php endif; return ob_get_clean(); // Return the output and end buffering }); } } add_action('init', 'generate_individual_field_shortcodes_no_title'); If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum. |
1 | 10 | 1 mês, 1 semana atrás | ||
There are base64 encoded fields in this document
Iniciado por: vladimirM-19
em: English Support
Problem: You are trying to translate your site using WPML and encountering issues with some articles and elements, specifically involving the base64 encoded fields in the fusion_sharing: description field. Solution: If you're experiencing this issue, we recommend adding the WPML language configuration for the Avada Element that is causing the problem. First, identify the exact name of the Avada Element/Widget that is problematic. You can refer to our documentation on how to handle such cases: https://wpml.org/documentation/plugins-compatibility/how-to-build-multilingual-sites-with-wpbakery-page-builder-and-wpml/#adding-support-for-the-raw-html-element Additionally, ensure you have updated the original language page after canceling any translation job and place the following custom XML configuration in WPML>>Settings>>Custom XML Configuration: <wpml-config> <shortcodes> <shortcode> <tag>fusion_sharing</tag> <attributes> <attribute>tagline</attribute> <attribute>title</attribute> <attribute encoding="base64">description</attribute> </attributes> </shortcode> </shortcodes> </wpml-config> If this solution does not apply because it is outdated or not relevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket at WPML support forum. |
0 | 9 | 2 meses atrás | ||
Split: Working with the translation links
Iniciado por: vladimirM-19 em: English Support |
2 | 2 | 11 meses, 1 semana atrás | ||
Split: Managing existing translations in progress
Iniciado por: vladimirM-19 em: English Support |
2 | 2 | 11 meses, 1 semana atrás | ||
"Connect with translations" doesn't exist
Iniciado por: vladimirM-19 em: English Support |
3 | 9 | 11 meses, 1 semana atrás |