Refactores translations and environments