 noanL
|
How can translate a string using logic functions: if lang is en "subject" will visible and if lang is de "Betreff" will visible for de.
Solutions: WPML does not offer custom code solutions for translation. Instead, you can wrap the string in a gettext call and then scan the plugin for strings and translation via String Translation. https://wpml.org/documentation/support/enabling-text-translation-for-themes-not-compatible-with-wpml/
If you prefer to use custom code solution, you can find our available api hooks here:
https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/
|