add the option to set max/min/len per locale
add the option to set max/min/len per locale