I’m developing a blog hosting service, and blog articles can be reached via URLs like
http://server/2012/10/30/article-title. How do I best handle the /YYYY/MM/DD/ part of the URL for countries where people prefer a non-Gregorian calendar?
(For example, would people in Islamic countries prefer that I translate /2012/10/15 to /1425/Muharram/15/? (That’d be the current date, in the Islamic calendar).)
(Update: Platform and language: Play Framework 2 and Scala, and some AngularJs Javascript.)
Update 2: What I did, based on the answers and comments below, was removing the date completely from the URL. Instead e.g. blog articles will be reachable via e.g. http://server/blog/-3kqf8-article-title, where 3kqf8 is the blog post ID in the database. Thanks!
For the URL itself, I would use whatever scheme was convenient for me.
As for formatting the date within the page, that could be easily accommodated along with other Locale-sensitive issues with a library that supports the Islamic calendar. You didn’t mention what the environment is you’re building this in, but a google search for ‘islamic calendar for x’ ought to help bunches.
If you want to maintain multiple forms for the URL, that would be possible but obviously comes at the price of more complexity.