umpirsky / Transliterator

Transliterator is a PHP library for text transliteration.
http://transliterate.umpirsky.com/
MIT License
61 stars 10 forks source link

Transposed characters #6

Open mikrohn opened 8 years ago

mikrohn commented 8 years ago

I was using Transliterator (at http://transliterate.umpirsky.com/) and noticed that the Russian ALA-LC conversion has the target letters for ь and ы transposed:

http://www.loc.gov/catdir/cpso/roman.html

Also, a double-dagger glyph () appears after every conversion of ъ.

umpirsky commented 8 years ago

@mikrohn Thanks for reporting/ :+1:

If this is true, then table on https://en.wikipedia.org/wiki/Romanization_of_Russian#ALA-LC is incorrect. I used it as a source.

mikrohn commented 8 years ago

I just looked at the Wikipedia table you linked to, and it appears to be correct. So now I'm worried that my original report was ambiguously worded. Just to be sure that I don't end up confusing matters:

The online Transliterator (when set to ALA-LC) currently maps ь to y, but should map it to ʹ. ы is currently mapped to ʹ, but it should be mapped to y.

Sorry if the original wording led you to think the opposite was occuring.

umpirsky commented 8 years ago

@mikrohn Oh, you are right.

transliterate.umpirsky.com is using old version of Transliterator which obviously has a bug.

I updated now, should work.

Thanks. :+1: