If something happens shortly after or before something else, it happens not long after or before it. If something is going to happen shortly, it is going to happen soon.
Their trial will shortly begin.
他们的审讯很快就要开始。
Shortly after moving into her flat, she found a job.
搬进公寓后不久她就找到了一份工作。