I ran through the principles of the internationalization of WordPress themes, and for the first time in my life I turned an existing non-international theme (not mine) into an international one, using __() and _e() functions. I also adapted date formats in that way. I added a functions page were I inserted the load_theme_textdomain() function.
Everything went fine, and I started to localize the theme by preparing a po file and then editing / translating it into Dutch with PoEdit.
After uploading the mo file, all translations seemed to be fine, except for the dates. They didn't seem to have altered / translated as I intended.
E.g. if the original text said to display Wednesday, April 30th, 2008 (l, F jS, Y), I changed the code into <?php the_time(__('l, F jS, Y','themedomain')) ?> to make it ready for translation.
In the po file, I added the translation 'l j F Y' (this date format is commonly used in Belgium and other European countries). So normally, I would expect the date to appear as 'woensdag 30 april 2008', but in fact it is displayed as 'woensdag, april 30th, 2008'.
Still other kinds of date formats don't seem to have translated as intended.
The date format in my WordPress installation is j F Y H:i, so that seems to be O.K. to (for Belgium and the Netherlands).
Where and how can I correct this?
Kind regards
Patrick Vanhoucke
Brussels, Belgium