Support » Plugin: WP Glossary » Request for localized sorting

  • Resolved jchris


    When I sort a-z I really sort a-ö since Swedish (and other countries) have more letters than the English language. For Sweden they are “å Å ä Ä ö Ö.
    Since the Ö is sorted like an “O” and both Å and Ä ar sorted like “A” it really isnt possible to use this excellent plugin in the Nordics and I expect the same is true for large parts of the world.

    Most humbly,


Viewing 4 replies - 1 through 4 (of 4 total)
  • Yes, multilanguage support for building an a-z index is needed!

    Plugin Author TCBarrett


    The alphabet range is passed through a filter, like so:

    $range = apply_filters( 'tcb_wpg_atoz_range', range('a','z') );

    You can try building your own array:

    add_filter( 'tcb_wpg_atoz_range', 'tcb_wpg_atoz_range' );
    function tcb_wpg_atoz_range( $range ){
      return my_list_of_characters();

    Let me know how you get on.

    i got a similar problem.

    i got a glossary which shall work with WPML. the glossary contains terms in english with translations to swedish and german (via WPML). but when i use [glossary_atoz] it lists the terms of all 3 languages even though the slug got translated.

    any idea to solve this? would grouping help there?

    Thanks for the answer. I am afraid it is a bit past my capacity…

    Anywhere I can read up on it?


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Request for localized sorting’ is closed to new replies.