Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Taxonomy Order by custom does not work as expected with accented words (Spanish special characters)

Started by Jose 5 years ago · 0 replies · 357 views
5 years ago

Hello
In Spanish, cars = automóviles as you can see the o is accented with special character over it. If I use it, no matter which place I place the word, it goes to the end, if I use normal o not ó the custom ordering works fine, but it will be a misspelling of the word in Spanish, Can I use accented words in taxonomies and how can I order them well?
Thanks

YAML
taxonomy: 
    productos: aceites
content:
    items:
       - '@taxonomy.vehículos': automóviles
       - '@taxonomy.vehículos': camiones
       - '@taxonomy.vehículos': moto
    order:
        by: custom
        custom:
          - automóviles
          - moto
          - camiones

Please note that It works fine if I place the right order in items and I delete all the order instructions, despite the accented character, but I wonder why the order does not work with accented characters.
Regards.

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 82 12 hours ago
General · by pamtbaau, 17 hours ago
1 55 17 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 348 5 days ago
General · by Duc , 6 days ago
3 43 5 days ago