Add MessageSourcePropertyEditor to translate codes in bean definition files.