[wp-trac] Re: [WordPress Trac] #9396: Month name declension
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 3 01:39:17 GMT 2009
#9396: Month name declension
-------------------------+--------------------------------------------------
Reporter: waclawjacek | Owner: nbachiyski
Type: enhancement | Status: reopened
Priority: normal | Milestone: Unassigned
Component: i18n | Version: 2.7.1
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by Denis-de-Bernardy):
* status: closed => reopened
* resolution: wontfix =>
* severity: normal => minor
Comment:
Re-opening because I take it you're somewhat familiar with php and/or
coding from knowing about the date() function. I take it there's a
systematic rule to apply? Such as January 1st uses Styczeń and the other
days use styczniu?
Anyway the mysql2date function (in wp-includes/function.php) gets called
in various areas, but it seems to me that, adding an extra parameter along
the lines of "apply a plural when a day greater than 1 is specified in the
date", defaulting to a define, might do the trick.
WP could then store, internally, which languages apply, and define this
accordingly depending on the language -- and things might end up working
as you'd expect them to.
Please note that hakre, myself and most others here can at best suggest
solutions on this one, from lack of understanding what should be returned.
But most certainly there is a potential solution. Any odds you or a friend
of yours are a coder who might be able to tackle it?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9396#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list