I'm developing a WordPress plugin and would like to know how I may translate a text from the plugin's database table using WPML.
Here's a sample of the code I want WPML to translate into multiple languages:
echo esc_html_e('Contact with','my-plugin') ." ". esc_attr($name);
*$name it's called from my plugin table in WordPress Database*
How do I translate "Contact with" and $name with WPML's multiple language support?