Move translation into class initialization