I am currently developing a plugin - if the current Wordpress language is for instance GERMAN or SWEDISH, the Wordpress texts (like Dashboard, "Your Profile", etc) will be translated into that specific language.
However, I am currently looking for a way, to revert the translated string BACK into en_US language. What I am trying to do, is something like this:
echo __('Dashboard');
// will output: "Kontrolpanel" (da_DK)
Scenario:
__('Kontrolpanel', array('da_DK' => 'en_US'));
// should output: "Dashboard" (because it is the original WP language, en_US)
Is this possible? I am dealing with content, which is created by Wordpress, this means, I have to find a way to translate the outputted string (which translated to current wp_lang) to translate it back to get the english version of the foregin word.
Does it makes sense? It's pretty complicated to explain.
I hope to hear from somebody!
Thanks in advance!