We rename useTransRole to useTrans to make it more general and reusable. It will be used for all reusable doc translation.