backport translations to dropwizard branch