Refactoring for translations