One function of dreams is to bring aspects of our thinking or feeling, which may be ill defined, towards clarification. Foreign or strange language may therefore illustrate something which is being communicated to us from within, but is still not clear.
The unconscious, as in speaking in tongues—glossolalia—and of course in dreams, frequently moves towards clear awareness in stages.
The strange language is a halfway house, as is a dream.
If we bring focused attention to these, as explained in dream processing, the next step, clear verbal expression, can be reached. Speaking in language we are learning: the language is becoming habitual, making it possible to think in it.
See Also: speaking.
[1]