This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Woo Product translation issues
Started by: kolosD in: English Support |
0 | 7 | 3 days, 15 hours ago | ||
Translating numbers
Started by: kolosD
in: English Support
Problem: Solution: function wpmlsupp_7499_allow_translating_numbers($is_translatable, $job_translate) {<br /> $data = $job_translate['field_data'];<br /> if ('base64' === $job_translate['field_format']) {<br /> $data = base64_decode($data);<br /> }<br /> if (is_numeric($data)) {<br /> return true;<br /> }<br /> return $is_translatable;<br />}<br />add_filter('wpml_tm_job_field_is_translatable', 'wpmlsupp_7499_allow_translating_numbers', 10, 2); After adding this code, make a minor change to the product, save it, and update the translation. In the Translation Editor, manually search for the number you wish to translate. Ensure that the translation preference for the field where you're adding the numerical value is set to 'Translatable' in WPML > Settings > Custom Field translation. If you're using custom attributes not created through the WooCommerce > Attributes section, consider creating global attributes for easier management and translation. 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 needed, please open a new support ticket at WPML support forum for further assistance. |
2 | 5 | 1 month, 3 weeks ago | ||
Woo Product translation issues
Started by: kolosD in: English Support |
2 | 2 | 6 months, 3 weeks ago |