Problem: The client is trying to fetch a localized string for a JavaScript file in the Gutenberg editor, but the string is not being returned in the current language of the admin screen, even after attempting to switch languages programmatically. Solution: We recommend using the
wp_set_script_translations
function to ensure that the JavaScript file recognizes the localized strings. This involves generating a .json file from the .po file and ensuring it is loaded through a WordPress hook. Here are the steps:
For more detailed guidance, refer to the WordPress documentation on how to handle internationalization in block editors: Internationalization in Gutenberg.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Additionally, you can open a new support ticket for further assistance at WPML Support Forum.
Problem: You are a website designer using WPML and have connected all your sites to share a single pool of credits, which results in shared translation memory and glossary across all sites. You are looking for a way to share credits but keep the translation memory separated by website. Solution: Currently, there is no option available to share credits while keeping translation memories and glossaries separate for each website. All connected sites to a specific automatic translation account will share the glossary, credits, and translation memory. We have noted your request and will mention it to our developers as a potential feature for future updates.
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.
Problem: The client is trying to set up language definition by IP on their site using WPML, but WPML does not support this functionality natively. Solution: We recommend using a third-party IP geolocation plugin or developing a custom solution to achieve language redirection based on IP address. For more details on how to implement this, you can refer to a similar discussion in our forum: https://wpml.org/forums/topic/country-based-redirect/#post-4843377. If you encounter difficulties with the implementation, consider hiring a professional from our list of recommended contractors: https://wpml.org/contractors/.
Please note that this solution might be irrelevant if it's 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 these steps do not resolve your issue, please open a new support ticket for further assistance: Contact WPML Support.
Problème : Le client travaille sur le site en utilisant WPML et cherche à accéder aux phrases non validées dans l'ATE pour terminer la traduction. Il souhaite pouvoir filtrer les phrases non encore traduites directement dans l'ATE, similaire à l'ancienne fonctionnalité de l'éditeur classique V1. Solution : Nous avons suggéré d'utiliser les outils de navigateur ou une extension de navigateur pour modifier la classe CSS
.AT-segment_list__add_translation_container
. Cette classe est présente uniquement sur les blocs en attente de traduction, permettant ainsi de les mettre en évidence en changeant la couleur d'arrière-plan. Nous avons recommandé l'extension Chrome Visual CSS Editor qui permet de modifier les paramètres CSS de ces éléments sans coder.
Si cette solution ne résout pas votre problème ou semble dépassée, nous vous invitons à consulter les problèmes connus, vérifier la version des correctifs et vous assurer que vous avez les dernières versions des thèmes et plugins installés. Si le problème persiste, n'hésitez pas à ouvrir un nouveau ticket de support sur notre forum de support.
Problem: The client created a custom Elementor widget containing an image, headline, and text, and encountered an issue where the image did not change when switching languages, despite using WPML's Media Translation. Solution: We recommended the following steps to resolve the issue: 1. Ensure that the image within the custom Elementor widget is stored as a URL and that the URL field is registered for translation in the XML configuration. 2. Make a small update to the source page and save the changes. 3. Update the translation and use the Advanced Translation Editor to search for the image URL. If found, replace the URL with the correct image URL for the desired language. 4. If the URL does not appear in the translation editor, it's possible that the widget and its configuration need further adjustments. We suggested replicating the issue in a WPML sandbox environment to further diagnose the problem. 5. If manual translation of the image URL is required, consider integrating the Elementor widget with WPML Media Translation using a custom integration class, which may require hiring a developer proficient in WPML.
Please note that this solution might be outdated or not applicable to your specific 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 the issue persists, please open a new support ticket.
Problem: The client is trying to set up the Euro currency for different countries on their WooCommerce site, such as France, Germany, and Italy, with different shipping fees for each. They encountered an issue where they could not create multiple instances of the Euro currency for different countries using the WooCommerce Multilingual plugin. Solution: We explained that if the currency is set based on the Site Language, only one currency per language can be configured. However, by basing the currency on the client's location, it's possible to assign a specific currency to multiple countries. We recommended using the geolocation feature, which allows users from specific countries to see the corresponding currency. For detailed steps on setting this up, we advised checking the guide on multi-currency support in WooCommerce.
If this solution does not apply to your case, or if it seems outdated, we highly recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, feel free to contact us at WPML support forum.
Problem: You are working on a multilingual website using WPML and bbPress, aiming to automatically translate and publish user-generated content (topics and replies) in multiple languages. However, the current setup only allows automatic translation for content created in the primary language. Solution: Currently, it is not possible to automatically translate and publish user-generated content in several target languages using WPML without manual intervention. You can use the "translate automatically" button in the translation editor for individual posts, but these must be opened and sent manually. Automatic batch translation for user-generated content is not supported at this time.
If this solution does not resolve your issue or seems outdated, we recommend opening a new support ticket. We also advise checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum.
Problema: Il cliente ha installato il multi-lingua e abilitato una nuova valuta su Woocommerce, riscontrando problemi con le statistiche di Woocommerce (Analytics). Da mobile, le statistiche mostrano solo i risultati in £ e non permettono di selezionare un'altra valuta, mentre da desktop è possibile switchare tra le valute. Il cliente desidera vedere le statistiche complessive di tutte le valute insieme, senza usare un selettore. Soluzione: Attualmente, non è possibile visualizzare tutte le vendite insieme a causa di limitazioni tecniche. Queste includono la gestione di prezzi manuali in valute diverse e l'assenza di tracciamento del tasso di conversione al momento dell'ordine da parte di WCML, il che renderebbe i totali imprecisi. Abbiamo inoltrato la richiesta per una possibile implementazione futura, ma non è prevista una soluzione a breve termine.
Se questa soluzione non risolve il tuo problema o sembra irrilevante, ti consigliamo di aprire un nuovo ticket di supporto. Ti raccomandiamo inoltre di controllare gli argomenti noti, verificare la versione della correzione permanente e confermare di avere installato le ultime versioni dei temi e dei plugin.
Problem: You are inquiring when WPML will be compatible with WooCommerce's High Performance Order Storage (HPOS). Solution: We have conducted tests and initially planned the integration for a later version. It is likely to be included in WooCommerce Multilingual 5.2. We will update you once a release date is set. Additionally, this compatibility issue has been addressed in a recent release. If you're experiencing this issue, we recommend checking if you have the latest version installed. If the problem persists or if this solution is not applicable to your case, please visit our support forum to open a new ticket. We also highly recommend visiting the known issues page to verify the version of the permanent fix and confirm that you have installed the latest versions of themes and plugins.
WPML AI, our most powerful translation engine powered by ChatGPT, is now available for use. To learn more about its capabilities and enable it on your website, visit the official WPML AI page.