Người dùng này không có chủ đề yêu thích.
Chủ đề diễn đàn yêu thích
Chủ đề diễn đàn đã được tạo
Trạng thái |
Đề tài
|
Người ủng hộ | Tiếng nói | Bài viết | Độ tươi |
---|---|---|---|---|---|
Woo Product translation issues
Bắt đầu bởi: kolosD tRONG: English Support |
2 | 16 | 2 days, 3 hours trước | ||
Translating numbers
Bắt đầu bởi: kolosD
tRONG: 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 | 2 months, 1 weeks trước | ||
Woo Product translation issues
Bắt đầu bởi: kolosD tRONG: English Support |
2 | 2 | 7 months, 1 weeks trước |