Skip to content Skip to sidebar

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.

Tagged: ,

This topic contains 6 replies, has 0 voices.

Last updated by alenaN 5 days, 10 hours ago.

Assisted by: Andrey.

Author Posts
July 24, 2025 at 8:23 am #17266371

alenaN

Background of the issue:
I am working on a site under development and using WPML with ACF to manage custom fields. I have a text custom field 'price' with a number value in CZK and a text field 'currency'. Both fields are set as translatable. I need to set the 'price' field value in EUR for the English version.

Symptoms:
In ATE, I can't see the 'price' field without searching for it, although the 'currency' field is visible.

Questions:
How can I make the 'price' field visible in ATE without searching for it?

July 24, 2025 at 8:54 am #17266569

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

Could you please try adding the following code snippet to your theme’s functions.php file?

add_filter( 'wpml_tm_job_field_is_translatable', '__return_true' );

After adding the code, edit the page in the original language, make a small change (e.g., add a space or character), and update it. Then open the Advanced Translation Editor (ATE) — the number should now appear and be translatable.

July 25, 2025 at 1:02 pm #17271192

alenaN

Hi, thank you for help. I followed the steps. Unfortunately the code didn't helped - the field with the number value isn't visible if I open the ATE.

July 28, 2025 at 10:46 am #17274557

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback.

I will test this and let you know.

July 28, 2025 at 1:27 pm #17275305

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your patience.

I performed additional tests and consulted further with my team. Unfortunately, it’s not possible to display IDs in the Advanced Translation Editor (ATE). This behavior is intentional, as IDs are deliberately hidden or excluded from the translation process.

Currently, the only option is to use a search to locate IDs in the ATE.

July 28, 2025 at 1:40 pm #17275564

alenaN

Hi Andrey,

By ID, do you mean any numerical value, even if it's declared as a text value? My question was about the price field.

So what's the correct procedure for setting up a price field using ACF that needs to be translated into a different currency?

Thank you very much

July 28, 2025 at 2:04 pm #17275661

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Hello,

Apologies for the lack of clarity earlier — yes, I was referring to searching by a numerical value, specifically the fields that include the price.

So what's the correct procedure for setting up a price field using ACF that needs to be translated into a different currency?

You’ve already discovered the correct steps:
1. Open the Advanced Translation Editor (ATE)
2. Search for the field containing the 'price'
3. Translate the value as needed

July 30, 2025 at 11:28 am #17281781

alenaN

OK, thank you for the clarification. This procedure is not really effective from the customer point of view. I'm going to use a text field with a price and currency together.