Refactor styles for translations