This thread is resolved. Here is a description of the problem and solution.
Problem:
You are working on a site under development and trying to translate custom Ninja Form fields using WPML, but you couldn't find any documentation on how to do this.
Solution:
We have resolved this issue in the latest version of the plugin. Please ensure that you update your plugins. After updating, use the following filter to set the configuration for Ninja Forms:
add_filter( 'wpml_forms_config_ninja-forms', function ( array $config ): array {
$config['settings']['my-custom-field'] = [
'type' => 'ARRAY',
'properties' => 'f_label'
];
return $config;
} );This code snippet should help you configure the translation settings for your custom fields in Ninja Forms.
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still face issues, 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.
This topic contains 6 replies, has 0 voices.
Last updated by 1 month ago.
Assisted by: Shekhar Bhandari.