WP Glossary
[resolved] Request for localized sorting (5 posts)

  1. jchris
    Posted 3 years ago #

    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,



  2. webbolt
    Posted 3 years ago #

    Yes, multilanguage support for building an a-z index is needed!

  3. TCBarrett
    Plugin Author

    Posted 3 years ago #

    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.

  4. netigate
    Posted 3 years ago #

    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?

  5. jchris
    Posted 3 years ago #

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

    Anywhere I can read up on it?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Glossary
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic