portable-ascii
portable-ascii copied to clipboard
Is Ukrainian to ASCII correct?
Example: Is this correct?
"діти" -> "diti"
Can a native speaker, please check the character-replacement, thanks.
https://github.com/voku/portable-ascii/blob/master/src/voku/helper/data/ascii_by_languages.php#L538
Hello, the correct transliteration for "діти" is "dity". Please check my PR with updates according to the official Ukrainian transliteration docs https://zakon.rada.gov.ua/laws/show/55-2010-%D0%BF?lang=en#Text
#59
Also, I have a question.
In Ukrainian for some letters ('ю', 'я', 'Ї', etc) transliteration is different if it is the first letter in a word. For example: 'яма' -> 'yama' 'пісня' -> 'pisnia' The letter 'я' may be 'ya' or 'ia' depending on the letter position.
Do you think it's possible to implement this feature? May it be useful for other languages?