This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is using WPML with ACF to manage custom fields on a site under development. They have a 'price' field with a number value in CZK and a 'currency' field, both set as translatable. In the Advanced Translation Editor (ATE), the 'price' field is not visible without searching for it, although the 'currency' field is visible. The client needs to set the 'price' field value in EUR for the English version.
Solution:
We recommended adding the following code to the theme’s functions.php file:
add_filter( 'wpml_tm_job_field_is_translatable', '__return_true' );
After inserting the code, the client should edit the page in the original language, make a minor change (e.g., add a space or character), and update it. Then, by opening the Advanced Translation Editor (ATE), the number should now appear and be translatable. For setting up a price field using ACF that needs to be translated into a different currency, the steps are:
1. Open the Advanced Translation Editor (ATE)
2. Search for the field containing the 'price'
3. Translate the value as needed
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 further assistance is needed, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 6 replies, has 0 voices.
Last updated by 5 months, 2 weeks ago.
Assisted by: Andrey.