Add the $translate variable for enterprise compatibility and hide it in web editor widgets (these had already no translate icon in community).