Make WordPress Core

Opened 2 years ago

Last modified 19 months ago

#22296 new enhancement

Better internationalization support for tags

Reported by: exz Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 3.4.2
Component: Taxonomy Keywords: needs-patch
Focuses: Cc:


When playing around with tags I've found a couple of things that doesn't work as expected when dealing with names that have non-english characters.

The two problems I've found are that single non a-z chars doesn't seem to work at all, and when two tags are the same except for one character which is non a-z, they seem to collide. One example of this is that you're unable to use the tags "for" and "för" together.

I'm not sure if this is something that WordPress is supposed to support but I've got a use case for it and would like to raise the question.

Here's some tests which shows the problem: https://gist.github.com/3964335

Oddly enough you seem to be able to add the single non a-z tags from the dedicated tags page, but you're still unable to use them in any post.

Change History (4)

comment:1 follow-up: @ocean902 years ago

  • Keywords tags internationalization terms removed

You should be able to have "för" and "for" together. The slugs would be "for" and "for-2".

The issue exists on the edit page, right? I can add "for" and "för" in the metabox but after saving the post only "för" remains.

comment:2 @ocean902 years ago

Tracked down to term_exists.

Related: #18625

comment:3 in reply to: ↑ 1 @SergeyBiryukov2 years ago

Related: #16567

comment:4 @wonderboymusic19 months ago

  • Keywords needs-patch added
Note: See TracTickets for help on using tickets.