How to disable transliteration for arabic media files urls?

System Information
  • Strapi Version: 4.20.5
  • Operating System: Linux
  • Database: PostgreSQL
  • Node Version: v20
  • NPM Version: 10.2.4
  • Yarn Version: -

Greetings to the Strapi community!

I’ve been immersed in Strapi as my backend solution for quite some time now, and it’s been an enriching experience overall. However, a recent concern has surfaced regarding automatic transliteration of media file links to English. Given that our website is in Arabic, it’s crucial for SEO purposes that the image URLs retain their Arabic names.

Is there a way to deactivate transliteration specifically for Arabic, particularly for media files? Any insights or guidance would be greatly appreciated.

I can’t seem to find any configuration regarding this point and I have also tried to modify the slugify and transliteration libraries used by strapi but it always ends up breaking everything (I got error messages like some enumeration values of the field collide when normalized and Invalid enumeration value. Values should have at least one alphabetical character preceding the first occurence of a number. Update your enumeration).