WordPress.org

Support

Support » Requests and Feedback » BUG: date_i18n()

BUG: date_i18n()

  • Two small “bugs” I’ve noticed – nothing particularly wrong with the code though.
    1) Some languages have the first three letters the same in 2 or more months. For example in French: Juin and Juillet would both become just “Jui” after being trimmed to three letters by date_i18n(). The French often use “Jul” for Juillet instead.
    2) It’s a little more difficult to translate (due to special rules in some languages) but date(“S”) returns “English ordinal suffix for the day of the month, 2 characters” (i.e. st, nd, rd, th). In Norwegian at least, they should all just be “e”. It’s a lot less common to use, but is there any reason why date(“S”) was left out?

Viewing 1 replies (of 1 total)
  • One suggestion: translate strings in the file locale.php yourself; erase the translated strings for the applicable strings in the .po file, compile it, and your calendar will be fine. I’m doing this (in portuguese).

Viewing 1 replies (of 1 total)
  • The topic ‘BUG: date_i18n()’ is closed to new replies.