Add Transliteration as option

Created on 3 November 2023, almost 2 years ago

Problem/Motivation

A glossary A-Z with transliterated first letters is often required. It is possible to change the first letter using “hook_alter” (see #3035279), but you need a patch and it does not contain all the special characters.

Steps to reproduce

Use the patch from #3035279 and try the string ყაზბეგი.

Proposed resolution

Add an option for transliteration and use the Drupal transliteration.

Remaining tasks

Review the commited patch.

User interface changes

Added a checkbox for transliteration for each field.

API changes

API is unchanged. (BTW: I would suggest to give $source_value as context-parameter to the hook-alter).
I changed the 2nd parameter for glossaryGetter() to whole field config array.

Data model changes

The config array changed.

Feature request
Status

Active

Version

4.0

Component

Code

Created by

🇩🇪Germany jan kellermann

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024