Problem with transliteration with Taxonomy and Facet in Drupal 9

I was faced with the following problem - there is a site for Drupal 9 with the facet filters, including by taxonomy, but the facet address does not coincide with the address of our category as a result of which filtration does not work. The problem was in broadcast letters 'г'  into English. Instead of symbol 'g' that was generated in facets, 'h' was displayed. 

To solve this problem, it was possible to try to make a custom module, but taking into account the fact that the solution was needed yesterday, we are going to change the nucleus file - core/lib/Drupal/Component/Transliteration/data/uk.php

the code we need looks like this

  0x413 => 'H',
  0x433 => 'h',

change it to it

  0x413 => 'G',
  0x433 => 'g',

This is not an ideal method and not one hundred percent correct, but nevertheless it solves our problem. The main thing is to remember this when updating the core))

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
The comment language code.