Problem: You are trying to translate an ACF custom field in a user profile and display the content on the frontend of your site.
Solution: We recommend implementing the following steps in your child theme's functions.php file to enable translation of the ACF custom field using WPML: 1. Open your active child theme’s functions.php. 2. Paste the provided code into functions.php. 3. Edit the CONFIG section at the top to add your meta keys and toggle emoji stripping if your database isn’t utf8mb4. 4. Log in and visit any page to auto-register your current user’s values. 5. Optionally, run a one-time bulk register for all users by visiting
/wp-admin/?wpml_register_user_strings=1
. 6. Translate the fields in WPML → String Translation under the Domain: 'User Profiles'. 7. Display the translated values using the provided helper function or shortcode.
For detailed steps on how to translate and display the values, refer to the provided instructions in the code comments.
If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If needed, do not hesitate to open a new support ticket at WPML support forum for further assistance.