If your agent doesn't speak the language you want it to, check if:
The language is put to the language you want
The instructions are written in the language you want
The greeting is in the language you want
For advanced agents, the steps and when to go to next steps are written in the language you want.
And if you really want to be sure, you can add to the instructions "Always speak in [language]".