Cet utilisateur n'a pas de sujets favoris.
Sujets préférés du forum
Sujets de forum créés
Statut |
Sujet
|
Supporter | Les voix | Articles | Fraîcheur |
---|---|---|---|---|---|
My MAIN MENU will not translate
Démarré par: vladimirM-19 en: English Support |
0 | 4 | Il y a 3 semaines et 3 jours | ||
I translated everything regarding my Main Menu
Démarré par: vladimirM-19 en: Chat Support |
1 | 2 | Il y a 3 semaines et 3 jours | ||
I am using ACF and I setup the Advanced Custom Fields Multilingual, but my field choices are not get…
Démarré par: vladimirM-19
en: 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 | Il y a 1 mois et 1 semaine | ||
There are base64 encoded fields in this document
Démarré par: vladimirM-19
en: 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 | Il y a 2 mois | ||
Split: Working with the translation links
Démarré par: vladimirM-19 en: English Support |
2 | 2 | Il y a 11 mois et 1 semaine | ||
Split: Managing existing translations in progress
Démarré par: vladimirM-19 en: English Support |
2 | 2 | Il y a 11 mois et 1 semaine | ||
"Connect with translations" doesn't exist
Démarré par: vladimirM-19 en: English Support |
3 | 9 | Il y a 11 mois et 1 semaine |