This way of doing it messes up the validation in the new version so be sure to update your models to the new localization system(which is great btw!).
The problem with my previous approach was that if updating existing customer, the validation would fail because not defining confirm_password. For example:
Code:
$customer = new Customer();
$customer->get_by_name('cahva');
$customer->name = 'Cahvaaaa';
$customer->save();
That failed with 1.7.1 but not the earlier 1.6.2 version..
So if you are upgrading from earlier version and done something similar to get validation localized before, be sure to update your models.
EDIT: Hmm.. Could it be that using parent::__construct() before the _set_validation could have caused this behaviour?? Maybe that parent::__construct() was not needed anyway.. I have probably left it there by accident.