Problem: The client reported issues with incomplete or missing translations on their website using WPML. Solution: We recommended adding a custom XML configuration to ensure all elements are translatable. The client can access this setting by navigating to the WPML settings in their WordPress admin panel. After updating the XML configuration, the client should resave the primary language page to trigger the automatic translation process. For the footer translations, we enabled the translation option, and the client needs to complete the translation manually.
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.
Problem: Die Funktion zur Anzeige von Herstellerangaben auf einer Produktseite wird nicht korrekt ins Englische übersetzt, obwohl die Grundversion in Deutsch verfasst ist. Der String ist vorhanden, aber die Sprachen sind vertauscht. Solution: Wir empfehlen, die
getText()
Funktion mit der korrekten Textdomain zu implementieren, da diese in Ihrer aktuellen Implementierung fehlt. Zusätzlich können Sie die Funktion wpml_translate_single_string verwenden, um die Übersetzung zu verwalten.
Falls diese Lösung nicht relevant sein sollte, weil sie veraltet ist oder nicht auf Ihr Problem zutrifft, empfehlen wir Ihnen, ein neues Support-Ticket zu eröffnen. Wir empfehlen auch, die Seite mit bekannten Problemen (https://wpml.org/known-issues/) zu überprüfen, die Version der dauerhaften Lösung zu verifizieren und zu bestätigen, dass Sie die neuesten Versionen von Themes und Plugins installiert haben. Für weitere Unterstützung besuchen Sie bitte unser Support-Forum unter WPML Support-Forum.
Проблема: Клиент столкнулся с проблемой, где функция icl_get_string_id всегда возвращает 0 после первого вызова, что приводит к повторному добавлению перевода через API, если строка уже зарегистрирована. Решение: Мы рекомендуем использовать доступные хуки WPML для регистрации строк и переводов, чтобы избежать подобных проблем. Для регистрации строки следует использовать хук
Если данное решение окажется неактуальным или не подходит под ваш случай, мы настоятельно рекомендуем проверить связанные известные проблемы по ссылке https://wpml.org/known-issues/, убедиться в версии исправления и подтвердить, что у вас установлены последние версии тем и плагинов. Если проблема сохраняется, пожалуйста, откройте новый тикет в службе поддержки WPML.
Problem: The client is using a template created with ACF, where each page has multiple modules and components with radio inputs set to 'translate'. This requires marking 'Translation is complete' multiple times per page, which is cumbersome and time-consuming for translators. Solution: We recommend setting the radio input fields to 'copy' instead of 'translate'. This change means you won't need to mark 'Translation is complete' for these fields repeatedly. You will need to adjust the output on the front-end based on the selected options to ensure the content localizes correctly.
If this solution does not apply to your case, or if it seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if further assistance is needed. You can do so at the WPML support forum.
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.