I'm trying to translate texts in a WordPress template file:
_e('Sport Events Organizing', 'theme-text-domain');
I've setup the translation for spanish on WPML String Translation. Checked "Finished Translation" and clicked "Save". Then I browse my site and change the language to "Spanish". But the text still appears in english. URL shows the ?lang=es parameter.
To get WPML to make the translations for this text available I had to register it with:
icl_register_string('theme-text-domain', 'Sports', 'Sport Events Organizing')
Why is the spanish translation not showing? Is there a way to debug this?