هذا المستخدم ليس لديه مواضيع مفضلة.
مواضيع المنتدى المفضلة
تم إنشاء مواضيع المنتدى
الحالة |
عنوان
|
مؤيد، مشجع، داعم | أصوات | المقالات | نضارة |
---|---|---|---|---|---|
Search modal box not translating
بدأ ب: emmanuelleD-4
في: English Support
Problem: 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. 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. |
2 | 6 | قبل 1 أسبوع، 4 أيام | ||
author link metadata and sidebar buttons can’t be translated
بدأ ب: emmanuelleD-4
في: English Support
Problem: add_filter('author_link', 'modify_author_link', 10, 1);<br />function modify_author_link($link) {<br /> $current_language = apply_filters('wpml_current_language', null);<br /> if ($current_language === 'fr') {<br /> $link = 'https://www.thatcutedish.com/fr/a-propos/';<br /> } else {<br /> $link = 'https://www.thatcutedish.com/about/';<br /> }<br /> return $link;<br />} 2) For translating sidebar buttons, since they are part of a WordPress widget block, we directed the client to follow the steps in our guide on translating widgets (documentation). If the widgets are not appearing under Appearance > Widgets due to theme limitations, contacting the theme developer for assistance was recommended. If this solution does not resolve your issue or seems outdated, please check related known issues (here), verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If further assistance is needed, we highly recommend opening a new support ticket at WPML support forum. |
2 | 5 | قبل 1 شهر، 3 أسابيع | ||
Parent post of WPRM recipe cards
بدأ ب: emmanuelleD-4 في: English Support |
2 | 2 | قبل 3 أشهر، 1 أسبوع |