Add transliteration code from old svn