Use translated_attribute_names to grab fields list

class.translates no longer returns the list of translated fields
this is huoxitos fix back-ported to 2-0-stable