Hello,
Thank you for your response. I have tried that, I went to Languages > Settings > URL modifications and resaved the settings, cleared cache, but still it gives me the same issue with the arabic version. I have attached the screenshot for your reference.
https://file.io/LATILz7JPDcy