Hmm... am I missing something? This just returns 'de' for me. I thought you might have meant getLanguageDisplay() instead, but that returned the same thing.
Was my fault... nearly midnight I tend to make mistakes :-) Just use the latest SVN with the second function I send.
Greetings Thomas