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

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

Started by Jose 5 years ago · 0 replies · 432 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 jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 311 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 266 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago