If you want to bulk assign them as teachers to a category (and there are performance warnings about this) then you need first to edit the teacher role and tick "category" as a context to assign them in and then enable Category enrolments
Roles and permissions
Bulk assign roles to users
This discussion has been locked so you can no longer reply to it.