GPT-4 API Outputs Gibberish When Prompted in Arabic

Screenshot 2024-05-07 at 3.50.49 PM

In the above screenshot, the GPT-4T API is being prompted in Arabic from WhatsApp. There is a hidden system prompt in English that users are interacting with. Top P is at 0.9 and Temperature is at 0.6. Yet I am consistently getting responses that include many known languages and gibberish in unordered format.

What could be the cause behind this issue? And how can I fix it? Would changing the system prompt to Arabic improve results? Would changing the parameters work?