translate tries to guess the course id from the location in that case. If the location's category is 'course' , it's perfect. Otherwise, it will used the abbreviated course id (org/course w/o run).