This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
WBW filter plugin translate the tags but not the Categories
Started by: michaelL-164
in: English Support
Problem: If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. Also, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can contact us directly through our support forum. |
|
2 | 6 | 1 year ago | |
Issue with the Product tabs title from ''product tabs by woocommerce''
Started by: michaelL-164
in: English Support
Problem: $wpt_tabs[ $key ]['title'] = esc_attr( $prd->post_title ); with: $wpt_tabs[ $key ]['title'] = esc_attr( $prd->post_title ); // WPML Workaround for compsupp-7241 if ( class_exists('Sitepress') ) { $string = $wpt_tabs[ $key ]['title']; $textdomain = 'WordPress'; $string_name = 'WPML Workaround : '.substr($string, 0, 20); $wpml_default_lang = apply_filters('wpml_default_language', NULL ); $wpml_current_lang = apply_filters( 'wpml_current_language', NULL ); if ($wpml_default_lang == $wpml_current_lang ) { do_action( 'wpml_register_single_string', $textdomain, $string_name, $string ); } // Apply the translation to the string $string = apply_filters('wpml_translate_single_string', $string , $textdomain, $string_name); $wpt_tabs[ $key ]['title'] = $string; // Replace the title } 5- Go to WPML > String Translation, enable the option 'look for strings while pages are rendered' at the bottom of the page, and visit a product with the tabs so WPML includes the new strings. 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. |
|
2 | 7 | 1 year ago |