[wp-trac] [WordPress Trac] #11226: Month name declension case

WordPress Trac noreply at wordpress.org
Wed Jul 31 15:58:19 UTC 2013


#11226: Month name declension case
-------------------------+-----------------------------
 Reporter:  waclawjacek  |       Owner:  nbachiyski
     Type:  enhancement  |      Status:  new
 Priority:  low          |   Milestone:  Future Release
Component:  I18N         |     Version:  2.9
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+-----------------------------

Comment (by Daedalon):

 As Denis-de-Bernardy referred to 4 years ago, different languages have
 different declensions. In the original example where Polish uses locative,
 Finnish uses inessive, and where Polish uses genitive, Finnish uses
 nominative. In Russian it's the same except prepositional instead of
 inessive.

 The solution to the issue should allow specifying "in January" or "on
 Monday" in a way that gets translated correctly regardless of what the
 declination is called in the current language.

 The simplest way might be to have direct translations from English that
 date_i18n then retrieves upon request. As long as date_i18n understands
 when it should be looking for the equivalent of "in January" instead of
 "January", it can return the appropriate translated string.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/11226#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list