portable-ascii icon indicating copy to clipboard operation
portable-ascii copied to clipboard

Is Ukrainian to ASCII correct?

Open voku opened this issue 5 years ago • 2 comments

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

voku avatar Sep 14 '19 23:09 voku

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

Andr1yk0 avatar Apr 18 '21 13:04 Andr1yk0

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?

Andr1yk0 avatar Apr 18 '21 13:04 Andr1yk0