Fixes Issue #362: Broken domain names for languages

@kostajh, if you like a different approach, that's fine. Just trying to do
some testing with languages :-)