I have a plugin where people can add their own (title) somewhere, but this title is not picked up by multilingual plugins.
Reason for that is that I'm not using the __()
function of course, I'm just echoing the option value that the user has input.
For example echo esc_html( $my_title );
How can I make it translatable? Would echo esc_html__( $my_title, 'text-domain' )
work?
I don't think so, I mean what would people see as the original string?
How WP would handle this?