This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is trying to use an Advanced Custom Fields (ACF) text box to change the HubSpot form ID based on the language. However, the numeric ID does not appear in the WPML translation editor.
Solution:
÷t's expected that Numeric values are automatically removed from the translation editor by WPML, as they are not considered translatable strings. To change this, please try the following steps:
1. Add the following code to your theme's functions.php file:
add_filter( 'wpml_tm_job_field_is_translatable', '__return_true' );
2. Edit the original post or page, make a small change, and then update it.
3. Update the translation.
4. Use the search field in the translation editor to find the numeric value and translate it.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. 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 issue persists, please open a new support ticket. For further assistance, you can reach out to us on the 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 1 reply, has 2 voices.
Last updated by 1 year, 3 months ago.
Assisted by: Mohamed Sayed.