How to filter items with the Cyrillic alphabet in isotope.js?

Good day!

Trying to sort the blocks according to the filters isotope.js

The question arose as to filter Cyrillic, and even with the gaps?
Ie I can't use the Cyrillic alphabet and spaces in the attributes of tags.

An example that does not work, but the result which I would like to get:
<div class="button-group filter-button-group">
 <button class="button" data-filter=".Abyssinian gold">8787874</button>
the <div>

<div id="container">
 <div class="element Abyssinian gold">...</div>
the <div>


C JS sign whether you can suggest how can get around this?
Or advise other plugins, etc. to solve the problem?

Thank you!
April 3rd 20 at 17:16
1 answer
April 3rd 20 at 17:18
Solution
I would use the transliteration.

Abyssinian gold -> abessinskoye_zoloto

https://github.com/greybax/cyrillic-to-translit-js

Find more questions by tags JavaScriptjQuery