rewrote url handling
get translation: empty key does not throw error anymore
added support for replacements in translations