How to handle localization in Push Notification

I'm trying to use arabic language in my app, and i wanted to send arabic push notifications through notification extension, but for some reason whenever i send the notification payload, it does not switch to RTL, but remains LTR, am i missing something or is there any solution to this


Any help would be deeply appreciated