It is indeed a quite stupid question, but I can't get Archive to show for instance 1er, 2ème, 3ème in French at the place of 1st, 2nd and 3rd or even just nothing would be fine.
I precise that all the other strings appear to be correctly translated through locale.
So, is there a way to get these archive strings translated?
Or how can I just get rid of the extra st, nd and rd by hacking the module? (I looked into this but I could not guess since I don not understand much in php).

Many thanks in advance,

Comments

tomski’s picture

I found a way to eliminate the *st, *nd, etc.

At the bottom of the module code there is this line:

$date_sep = format_date($date_created, 'custom', 'F jS');

And you need to change into this:

$date_sep = format_date($date_created, 'custom', 'F j');

Yet if it was possible just to translate it and keep it therefore for the English version of the site it would be of course better!

rpadua’s picture

Actually it's not "at the bottom of the module code", but at the bottom of archives.pages.inc .

This information might be useful for someone, if I knew it I might have saved a lot of time ;)

Good work, it fixes this issue!

R.Muilwijk’s picture

Category: support » feature
Status: Active » Closed (won't fix)

In drupal 7 this might be handled by Views fields where you'll be able to specify the format. Won't be in the 1.x version of this module.