I have a method which turns any Latin text (e.g. English, French, German, Polish) into its slug form,
e.g. Alpha Bravo Charlie
=> alpha-bravo-charlie
But it can't work for Cyrillic text (e.g. Russian), so what I'm wanting to do is transliterate the Cyrillic text to Latin characters, then slugify that.
Does anyone have a way to do such transliteration? Whether by actual source or a library.
I'm coding in C#, so a .NET library will work. Alternatively, if you have non-C# code, I'm sure I could convert it.
You can use .NET open source dll library UnidecodeSharpFork to transliterate Cyrillic and many more languages to Latin.
Example usage:
Testing Cyrillic:
Simple, fast and powerful. And it's easy to extend/modify transliteration table if you want to.