move translations behind TranslationServlet, to allow server-side usage too