WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#17531 closed enhancement (fixed)

TwentyEleven i18n Improvements

Reported by: dimadin Owned by: iandstewart
Milestone: 3.2 Priority: normal
Severity: normal Version: 3.2
Component: Themes Keywords: has-patch
Focuses: Cc:

Description

Categories and tags lists shown in archives are not i18n friendly since they don't use placeholder and instead are broken to use the_category() and the_tags() function.

My fix is based on one from TwentyTen with addition of checks for | separator between lists and i18n of separator between lists items since we already have one in wp_sprintf_l().

Note to Automatticans (since they are original authors): I see that in your themes you have this hacks that work for English, so please always use placeholders and assume that in some language word order is different.

Attachments (1)

twentyeleven.patch (11.0 KB) - added by dimadin 3 years ago.

Download all attachments as: .zip

Change History (4)

dimadin3 years ago

comment:2 iandstewart3 years ago

  • Owner set to iandstewart
  • Resolution set to fixed
  • Status changed from new to closed

In [18029]:

Twenty Eleven: make categories and tags i18n friendly; Props dimadin; Fixes #17531

comment:3 ocean903 years ago

  • Milestone changed from Awaiting Review to 3.2
Note: See TracTickets for help on using tickets.