[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search

CLDR Ticket #7088(accepted data)

Opened 4 years ago

Last modified 3 years ago

Swedish collation

Reported by: markus Owned by: pedberg
Component: collation Data Locale: sv
Phase: rc Review:
Weeks: 0.1 Data Xpath:


In source:trunk/common/collation/sv.xml we have types "search", "standard", and "reformed". "standard" sorts v<<w while reformed keeps w primary different. "reformed" is the default but "search" has "rules match standard collation below" including v<<w.

Is it correct that "search" has v<<w, or should we make "search" work like the default collation, without v<<w? Do Swedish users expect to have v and w be equal on primary level when searching?

Also, can we rename "reformed" to "standard" and delete the old rules?

Note: "reformed" has been the default since cldrbug 1035 (r2776 2007-July).


Change History

comment:1 Changed 4 years ago by fredrik

Swedish only recently "upgraded" w to independent letter for sorting, it used to be treated as a variant of v. Since this is rather new, and since some words and names have alternate v/w spelling, I think it makes sense to treat v and w as interchangeable when it comes to searching, at least for the time being.

comment:2 Changed 4 years ago by kent.karlsson14@…

See http://unicode.org/cldr/trac/ticket/3059, and in particular http://unicode.org/cldr/trac/attachment/ticket/3059/sv.xml.

That includes renaming "standard" to "traditional" and then "reformed" to "standard" (having the now "standard" rules as default).

For search, see same attachment from three years ago. It agrees with what Fredrik says above.

comment:3 Changed 4 years ago by markus

Can we delete the "traditional" rules, or does someone still need them (and will select them with something like sv-u-co-trad)?

comment:4 Changed 4 years ago by kent.karlsson14@…

The rules separating v and w at level 1 is more a concession to English and not really appropriate for Swedish per se. I do not support deleting rules with v and w at the same level 1 weight.

Again, see ticket:3059, not just for Swedish, but for other Nordic languages as well. The collation rules for the Nordic languages really need to be reconsolidated.

comment:5 Changed 4 years ago by emmons

  • Owner changed from anybody to pedberg
  • Status changed from new to assigned
  • Milestone changed from UNSCH to 26rc

comment:6 Changed 4 years ago by pedberg

  • Cc markus added
  • Milestone changed from 26rc to 27rc

We need to consider backwards compatibility. Some implementations keep specific collation types in user preferences, for example "sv@collation=standard". Changing names would break that. This needs more discussion.

comment:7 Changed 4 years ago by markus

  • Phase set to rc
  • Milestone changed from 27rc to 27

comment:8 Changed 3 years ago by pedberg

  • Milestone changed from 27 to 28

comment:9 Changed 3 years ago by markus

  • Type changed from task to data

comment:10 Changed 3 years ago by srl

  • Status changed from assigned to accepted

comment:11 Changed 3 years ago by pedberg

  • Priority changed from assess to major
  • Milestone changed from 28 to 29

comment:12 Changed 3 years ago by emmons

  • Milestone changed from 29 to upcoming

Automatic move of all 29 -> upcoming


Add a comment

Modify Ticket

as accepted

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.