This thread is resolved. Here is a description of the problem and solution.
Problem:
You need to translate a Meta Box Post field under a User profile and select a Custom Post Type (CPT) 'franchise' for every translation of your WordPress website.
Solution:
First, ensure that you unset or set as 'Not translate' any of the mb- type of options in WPML > Settings.
Next, add the following code to your functions.php file to make the 'franchise_associated' user custom field translatable:
add_filter( 'wpml_translatable_user_meta_fields', function( $fields ) {<br /> $fields[] = 'franchise_associated';<br /> return $fields;<br />} );
Then, navigate to WPML > String Translation. Search for 'franchise_associated' and translate the CPT numerical id. For example, in the provided Sandbox site, translate from 68 to 70.
For detailed guidance, review the documentation on Translating User Meta Information with WPML.
If this solution does not apply to your case, or if it 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 issues persist, please open a new support ticket.
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.