adjust locales and translation variables