Install

Add package dependency:

dotnet add package UkrainianLatin

Usage

using paiv.uklatn;

UkrainianLatin tr = new UkrainianLatin();
tr.Encode("Доброго вечора!");
tr.Decode("Paljanycja");

Set the transliteration scheme:

tr.Encode("Борщ", UkrainianLatin.Table.DSTU_9112_B);
tr.Encode("Шевченко", UkrainianLatin.Table.KMU_55);

Notes

Input is assumed to be in Ukrainian (Cyrillic or Latin script), and will be processed in full. If your data has mixed languages, do preprocessing to extract Ukrainian chunks.