该用户没有最喜欢的主题。
最喜欢的论坛主题
创建的论坛主题
状态 |
主题
|
支持者 | 声音 | 文章 | 新鲜度 |
---|---|---|---|---|---|
Email aligment is inccorect in WooCommerce mail sent to admin
发起人: rayaA 中: English Support |
|
1 | 7 | 3 days, 22 hours前 | |
apply_filters hook will not translate a string from a foreign language into the website’s defulat l…
发起人: rayaA
中: English Support
Problem: wpml_translate_single_string hook in WPML, but it fails to translate into the website's default language (English), while it successfully translates into Russian. wpml_translate_single_string hook does not translate into the default language because WPML assumes the string in the default language is the original value and does not store translations for it. To retrieve a translation based on the current language, use the default language string as the source and pass the current language as the target: $current_lang = apply_filters('wpml_current_language', null);<br />$translated = apply_filters('wpml_translate_single_string', 'Subject en', 'admin_texts_woocommerce_new_order_settings', '[woocommerce_new_order_settings]subject', $current_lang);<br />error_log($translated); This method uses the default language string ('Subject en') as the source, and WPML looks up the appropriate translation for the current language. For further understanding, you might find these guides helpful:
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also highly suggest 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: WPML Support Forum. |
|
0 | 3 | 1 weeks, 1 days前 | |
Product image should be same for translated products
发起人: rayaA
中: English Support
Problem: 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 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. Should you need further assistance, please do not hesitate to open a new support ticket at WPML Support Forum. |
|
0 | 4 | 1 months, 2 weeks前 | |
URLs are being translated
发起人: rayaA
中: English Support
Problem: Solution:We requested the client to update the pages and it's translations which fixed the issue. If this solution seems outdated or not applicable to your case, 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 WPML Support Forum. |
|
0 | 3 | 2 months, 1 weeks前 | |
Translations are working only when “Auto register strings for translation”
发起人: rayaA
中: English Support
Problem: 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 at WPML support forum for further assistance. |
|
0 | 3 | 3 months, 3 weeks前 | |
I would like to know if the bug correction was included in your latest version
发起人: rayaA 中: Chat Support |
|
0 | 2 | 4 months前 | |
Internal Server Error
发起人: rayaA
中: English Support
Problem: add_filter('mod_rewrite_rules', 'fix_rewritebase');<br />function fix_rewritebase($rules){<br /> $home_root = parse_url(home_url());<br /> if ( isset( $home_root['path'] ) ) {<br /> $home_root = trailingslashit($home_root['path']);<br /> } else {<br /> $home_root = '/';<br /> }<br /> <br /> $wpml_root = parse_url(get_option('home'));<br /> if ( isset( $wpml_root['path'] ) ) {<br /> $wpml_root = trailingslashit($wpml_root['path']);<br /> } else {<br /> $wpml_root = '/';<br /> }<br /> <br /> $rules = str_replace("RewriteBase $home_root", "RewriteBase $wpml_root", $rules);<br /> $rules = str_replace("RewriteRule . $home_root", "RewriteRule . $wpml_root", $rules);<br /> <br /> return $rules;<br />} 3. Re-save the permalinks from the Settings >> Permalinks page by pressing the Save Changes button. If this solution does not apply to your case, or if it 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 issue persists, please open a new support ticket at WPML support forum. |
|
0 | 3 | 4 months, 3 weeks前 | |
WooCommerce Email Verification to user aligned incorrectly
发起人: rayaA
中: English Support
Problem: wpml_switch_language_for_email hook to adjust the language settings for your emails. More details on this hook can be found here: https://wpml.org/wpml-hook/wpml_switch_language_for_email/ Additionally, you can modify the email template directly. Open the file at .../wp-content/plugins/wc-multivendor-membership/views/emails/email-verification.php . Replace the existing WooCommerce email header action with a new block that switches the language context based on the user's email. Here's the code you should use: // Workaround for compsupp-7719 // Workaround for compsupp-7719 // Switch language context if( apply_filters( 'wcfm_allow_wpml_email_translation', true ) ) { do_action('wpml_switch_language_for_email', $user_email); } ?> <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?/>" /> <meta content="width=device-width, initial-scale=1.0" name="viewport"/> <title><?php echo get_bloginfo( 'name', 'display' ); ?></title> </head> <body <?php echo is_rtl() ? 'rightmargin' : 'leftmargin'; ?>="0" marginwidth="0" topmargin="0" marginheight="0" offset="0"> <table width="100%" id="outer_wrapper"> <tr> <td><!-- Deliberately empty to support consistent sizing and layout across multiple email clients. --></td> <td width="600"> <div id="wrapper" dir="<?php echo is_rtl() ? 'rtl' : 'ltr'; ?>"> <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%"> <tr> <td align="center" valign="top"> <div id="template_header_image"> <?php $img = get_option( 'woocommerce_email_header_image' ); if ( $img ) { echo '<p style="margin-top:0;"><img src="' . esc_url( $img ) . '" alt="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" /></p>'; } ?> </div> <table border="0" cellpadding="0" cellspacing="0" width="100%" id="template_container"> <tr> <td align="center" valign="top"> <!-- Header --> <table border="0" cellpadding="0" cellspacing="0" width="100%" id="template_header"> <tr> <td id="header_wrapper"> <h1 style="text-align: <?php echo is_rtl() ? 'right' : 'left'; ?>"><?php echo esc_html( $email_heading ); ?></h1> </td> </tr> </table> <!-- End Header --> </td> </tr> <tr> <td align="center" valign="top"> <!-- Body --> <table border="0" cellpadding="0" cellspacing="0" width="100%" id="template_body"> <tr> <td valign="top" id="body_content"> <!-- Content --> <table border="0" cellpadding="20" cellspacing="0" width="100%"> <tr> </tr></table></td></tr></table></td></tr></table></td></tr></table></div></td></tr></table></body></html> Ensure to set the text alignment in the HTML body of the email template to respect the left or right text direction based on the language context. At the end of the file, add the following code to switch the language back: <?php // switch language back if( apply_filters( 'wcfm_allow_wpml_email_translation', true ) ) { do_action('wpml_restore_language_from_email'); } ?> If this solution does not resolve your issue or seems irrelevant due to updates or differences in 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 needed, please open a new support ticket at WPML support forum for further assistance. |
|
3 | 9 | 5 months, 2 weeks前 | |
Split: try to translate with CTE, it shows nothing to translate and "NaN% Complete"
发起人: rayaA 中: English Support |
|
2 | 9 | 6 months, 3 weeks前 | |
Split: There are 6 versions of the template "Single Posts"
发起人: rayaA
中: English Support
Problem: 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 for further assistance at WPML support forum. |
|
2 | 4 | 7 months前 | |
Fully translated page is blank
发起人: rayaA
中: English Support
Problem: Solution: 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 continues, please do not hesitate to open a new support ticket at our support forum. |
|
2 | 8 | 7 months前 | |
“current-menu-item” class is missing in secondary language
发起人: rayaA
中: English Support
Problem: current-menu-item is not being appended to the menu item in the navigation block of the page that is currently being viewed in a secondary language, this might be due to incorrect post IDs in the translated menu. wp_posts table in your database for the menu ID and verifying the record. You should ensure that the post IDs match the translated IDs. Here is an example of what you might see and how to correct it: <!-- wp:navigation-link {"label":"Post A – es ","type":"post","id":66,"url":"https://your-site.com/es/2024/09/15/post-a-es/","kind":"post-type"} /--> This ID should be updated to the correct translated post ID, like so: <!-- wp:navigation-link {"label":"Post A – es ","type":"post","id":72,"url":"https://your-site.com/es/2024/09/15/post-a-es/","kind":"post-type"} /--> After making these changes, the menu should work correctly in the secondary language. 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 you still need assistance, please open a new support ticket at WPML support forum. |
|
2 | 9 | 8 months前 | |
Can’t access second page in translation queue
发起人: rayaA
中: English Support
Problem: UPDATE `{wpdbPrefix}_icl_translation_status` SET `status` = 1 WHERE `status` = 2; Make sure to replace {wpdbPrefix} with your table prefix. It's crucial to back up your database and website before proceeding. If you're unsure how to run the SQL query, please contact your hosting support for assistance. If this solution does not resolve your issue or seems irrelevant due to being 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 the problem persists, please open a new support ticket. |
|
2 | 7 | 8 months前 | |
Accidentally changed one of the original texts of string translations
发起人: rayaA
中: English Support
Problem: If this solution does not resolve the issue, or if it seems outdated or irrelevant to your current setup, 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. Should further assistance be needed, please do not hesitate to open a new support ticket with us at WPML support forum. |
|
2 | 3 | 9 months前 | |
Translating “Read More” block in WordPress when using Twenty Twenty Four Gutenberg theme
发起人: rayaA
中: English Support
Problem: If this solution does not resolve your issue or seems outdated, we 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 you still need assistance, please open a new support ticket at our support forum. |
|
2 | 10 | 10 months, 2 weeks前 |