translate rails, models attributes, javascript