Skip to content

Make Unicode Aliases a per site tristate switch #61

Description

@nikosdion

Currently, we always try to use the API to read the entire Joomla config to retrieve the value of the site's Use Unicode Aliases. This only works if the API token corresponds to a Super User. When the token is a less privileged user we cannot retrieve this option and we default to false.

Add a tristate "Site uses Unicode Aliases" switch with options Yes, No, and Auto with the latter being the default (current state).

If someone decides to use a less privileged user to connect to a site they can select the Yes or No option to modify how automatic title to alias conversion works.

Further to that, we can add a few transliteration rules for the following languages:

  • German: ß to ss, ö to oe, ü to ue etc
  • French: drop the accents, convert ç to c etc
  • Greek: there's a transliteration class in the Greek language file I had contributed a long time ago based on an academic paper; we could reuse that

These rules would only apply if the chose article language BCP 47 code begins with the respective transliterator's language code. For example, de-DE, de-AT, and de-CH would all use the German (de) transliteration provider.

All these changes should be reflected in the documentation as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions