added active record localization