Refactoring localization messages.