2) يرجى مشاركة معلومات التصحيح الخاصة بك لمزيد من المساعدة. يمكنك قراءة شرح مفصل عن كيفية تقديم هذه المعلومات هنا.
قد تكون هذه الحلول غير ذات صلة إذا كانت معلوماتك قديمة أو لا تنطبق على حالتك. نوصي بشدة بمراجعة المشكلات المعروفة، التحقق من إصدار الإصلاح الدائم، والتأكد من تثبيت أحدث إصدارات القوالب والإضافات. إذا استمرت المشكلة، يرجى فتح تذكرة دعم جديدة.
Problem: You are trying to translate text items in the Jetpack newsletter signup widget on your Spanish pages using WPML, but the translations are not applying, and the text still displays in English. Solution: We recommend adding the following XML code to WPML-> Settings-> Custom XML tab to ensure the Jetpack widget strings are translatable:
After adding this code, the strings should translate correctly. Please check your Spanish version to confirm.
If this solution does not resolve your issue or seems outdated, 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 problem persists, please open a new support ticket.
The client installed WordPress in German (Sie) and then WPML, which switched to German (Du). In the meta tags, 'german-formal' appears, which the client believes is not good for SEO. They need to tag the website as being in German while using formal German with WPML.
Solution:
We recommend adding a function to the theme's child functions.php file to modify the HTML language attribute for German. Here is the code you should use:
add_filter('language_attributes', 'modify_language_attributes_for_german');
function modify_language_attributes_for_german($lang) {
// Check if the current language is German
$my_current_lang = apply_filters( 'wpml_current_language', NULL );
if ($my_current_lang === 'de') {
// Replace the language code for German
return 'lang="de-DE"';
}
return $lang; // Keep default language attributes for other languages
}
If this solution does not resolve your issue, or if it seems outdated or irrelevant 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.
The client is experiencing an issue where the 'saving' button keeps spinning indefinitely when trying to edit a product in a different language using WPML, despite the changes apparently being saved.
Solution:
We recommend the following steps:
1) Ensure you have the latest version of WPML String Translation. You may need to check for updates in the Plugins>>Add New>>Commercial tab.
3) Increase the MaxInputVars in your PHP settings to 10000. For guidance, refer to setting MaxInputVars.
If these steps do not resolve your issue, or if the solution seems outdated or irrelevant to your 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. If the problem persists, please open a new support ticket.
Problema: Il cliente sta sviluppando un sito e desidera implementare un comportamento specifico con WPML per riconoscere la lingua del browser e cambiare automaticamente la lingua. Inoltre, vuole aggiungere un avviso che appare quando cambia la lingua manualmente, suggerendo di leggere nella lingua preferita del browser. Soluzione: Per implementare questa funzionalità è necessario del codice personalizzato. Purtroppo, non possiamo fornire supporto diretto per codice custom. Tuttavia, come punto di partenza, consigliamo di consultare la nostra pagina degli hook di WPML. In particolare, questo hook può essere utile per il tuo caso.
Se la soluzione proposta risulta non essere applicabile al tuo caso, o se è diventata obsoleta, ti invitiamo a verificare i problemi noti correlati, a controllare la versione della correzione permanente e a confermare che hai installato le ultime versioni dei temi e dei plugin. Se necessario, apri un nuovo ticket di supporto qui.
Problema: Stai cercando di ordinare le lingue nel backend di WPML nello stesso ordine del frontend. Soluzione: Purtroppo, non è possibile riordinare le lingue nel backend per riflettere l'ordine del frontend utilizzando le impostazioni di WPML. È necessario utilizzare del codice custom. Se questa soluzione non è applicabile o se il problema persiste, ti consigliamo di verificare i problemi noti e di assicurarti di avere installato le ultime versioni dei temi e dei plugin. Se il problema non è risolto, ti invitiamo a aprire un nuovo ticket di supporto.
Problem:
The client is unable to locate and translate the text above the search box in the Kadence modal search box on their website.
Solution:
We advised the client that the text they are trying to translate is added through the theme's functions.php file and is not set up for translation by default.
To make this text translatable, they should replace the existing function in
functions.php
with the following code:
function kt_add_form_title( $form ) {
$content = '<div class="search-modal-content"><h5>' . __('What are you looking for?', 'your-text-domain') . '</h5></div>';
return $content . $form;
}
After updating the function, they should navigate to WPML->Themes and Plugin Localization to scan the theme and then translate the text using WPML's String Translation. For more details on theme internationalization, visit WordPress Theme Internationalization.
If this solution does not resolve your issue, or if it seems outdated or irrelevant 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.