My child understands me, but doesn’t speak

This situation can feel incredibly frustrating. I know it well myself, because my own son used to answer me in Italian whenever I spoke to him in German. So what can you do when a child understands the second language but always responds in the dominant one?