Problem: If you're experiencing issues where the CSS breaks on translated pages of your website, it might be related to how global sections are rendered within your theme. Specifically, the Code Snippets plugin may not be loading your theme's CSS correctly for the second language. Solution: We recommend using a Child Theme instead of the Code Snippets plugin. You can add the following snippet to the functions.php file of your Child Theme to address some of the CSS issues:
add_action('init', function() {
// Hook location to output the global section
$location_hook = 'nectar_hook_global_section_footer';
add_action($location_hook, function() use ($location_hook) {
// Detect current language
$current_lang = apply_filters( 'wpml_current_language', null );
// Default section ID (Spanish)
$global_section_id = '24759-2';
// Use translated section ID for English
if ( $current_lang === 'en' ) {
$global_section_id = '26378';
}
// Default category ID (Spanish)
$category_id = 47;
// Use translated category ID for English
if ( $current_lang === 'en' ) {
$category_id = 156;
}
// Output the section only if we're on the correct category archive
if ( is_product_category( $category_id ) ) {
Nectar_Global_Sections_Render::get_instance()->output_global_section($global_section_id, $location_hook);
}
});
});
However, if disabling the Code Snippets plugin resolves all issues, we suggest not using it and instead managing code through the Child Theme as shown above.
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 problem persists, please open a new support ticket.
בעיה: הלקוחה נתקלה בבעיה בעת עדכון תמונות בשדות גמישים באמצעות WPML, כאשר השדות אינם מעדכנים כראוי לאחר העתקה ראשונית. פתרון: 1. יש לוודא שהאפשרות לעורך התרגום המתקדם של WPML מופעלת, וניתן להחליף לעורך תרגום של וורדפרס אם נדרש. 2. יש לבדוק אם תוסף כגון Classic Editor או תוסף בונה עמודים מבטל את עורך הבלוקים של וורדפרס. 3. יש להגדיר את השדה הגמיש ושדה התמונה ל'העתק פעם אחת' על פי המדריך של WPML לשדות מותאמים אישית: מדריך לתרגום שדות מותאמים אישית ב-WPML. 4. יש לוודא שכל התוספים והגרסאות מעודכנים לגרסתם האחרונה.
אם הפתרון המוצע אינו רלוונטי עקב עדכונים או שהבעיה שלך שונה, אנו ממליצים לפתוח כרטיס תמיכה חדש. כמו כן, מומלץ לבדוק את עמוד הבעיות הידועות ב-WPML כאן ולוודא שהתקנת את הגרסאות העדכניות ביותר של התוספים והערכות.
Problem: Wenn du feststellst, dass Übersetzungen für benutzerdefinierte Module von Bricksable, die mit ATE übersetzt wurden, nicht im Frontend gerendert werden, Lösung: Wir empfehlen, bestimmte Codezeilen in der Datei
Diese Änderungen sollten das Problem für das "Content Toggle"-Modul beheben. Für andere Module mit dem gleichen Problem solltest du denselben Ansatz verwenden (Ersetzen der Unterstriche durch Bindestriche).
Bitte beachte, dass diese Lösung möglicherweise veraltet oder nicht auf dein Problem zutreffend ist. Wir empfehlen, die bekannten Probleme zu überprüfen, die Version der dauerhaften Lösung zu bestätigen und sicherzustellen, dass du die neuesten Versionen von Themes und Plugins installiert hast. Wenn das Problem weiterhin besteht, zögere nicht, ein neues Support-Ticket zu eröffnen.
Problem: The Arabic version of your website was displaying a maintenance page instead of the expected content. This issue was due to incorrect settings in the Strings Translation for the Tutor Maintenance Mode. Solution: We resolved the issue by adjusting the Strings Translation settings. Specifically, the value for the string named
[tutor_option]enable_tutor_maintenance_mode
was incorrectly translated from 'off' in English to 'على' in Arabic. We corrected this by removing the incorrect translation and copying 'off' into the Arabic translation. This change fixed the problem, and the Arabic homepage should now display correctly.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we recommend opening a new support ticket. Additionally, 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. For further assistance, please visit our support forum at WPML Support Forum.
Проблема: Клиент не может выбрать правильный язык для ACF свойства, поле заблокировано и показывает его как английский язык, хотя английского языка на сайте нет. В результате свойство не переводится на украинский язык в публичной части, выводя значение по умолчанию - русский. Решение: Мы рекомендуем обновить плагин WPML до последней версии 4.8.6 и его дополнения, чтобы воспользоваться последними исправлениями и улучшениями. Проверьте последние выпущенные версии в разделе «Моя учетная запись -> Загрузки» на сайте инструкции по обновлению. Если обновления не видны, перейдите в раздел Плагины → Добавить новый, нажмите на вкладку Реклама и кнопку «Проверить наличие обновлений». Не забудьте сделать резервную копию базы данных перед обновлением.
Если данное решение не помогло или оно кажется неактуальным, рекомендуем открыть новый тикет поддержки. Также настоятельно рекомендуем проверить известные проблемы, подтвердить версию исправления и убедиться, что у вас установлены последние версии тем и плагинов.