fixes #200: Add support for translating from inside the application