I don't think there's any kind of ruling when it comes to understanding a language you can't speak, or making yourself understood to someone who doesn't speak your language? Could we possibly make some kind of skill check for that DM? Of course, the goblins might just speak common.