My application have Arabic and English languages enabled. When the url is generated for news items, the date component is present in the URL and its different for each language. Gregorian date for English translation and Hijri date components for arabic item's url.
The requirement here is to have same date (Gregorian) in both items url, is there any fix or options available to change this?
Thanks Salam
That's not gonna be easy, because when the Thread is in AR culture, then calling date.ToString("yyyy/MM/dd") returns something completely different compared to when the Thread is in EN culture, as you correctly pointed out.
What Sitefinity allows you to do, is to change the urlformat of the news items, so the easiest way would be to remove the PublicationDate from the url format altogether. As a result the news url will not have a date portion.
If that's acceptable for you, then check how to do it here: https://www.progress.com/documentation/sitefinity-cms/for-developers-change-url-format-for-built-in-modules-with-single-content-type
Simply create this urlFormat parameter and set its value to