translit(repstr)
{
StringReplace, repstr, repstr, а , [[a]] , All
StringReplace, repstr, repstr, б , [[b]] , All
StringReplace, repstr, repstr, в , [[v]] , All
StringReplace, repstr, repstr, г , [[g]] , All
StringReplace, repstr, repstr, д , [[d]] , All
StringReplace, repstr, repstr, е , [[e]] , All
StringReplace, repstr, repstr, ё , [[yo]] , All
StringReplace, repstr, repstr, ж , [[zh]] , All
StringReplace, repstr, repstr, з , [[z]] , All
StringReplace, repstr, repstr, и , [[i]] , All
StringReplace, repstr, repstr, й , [[j]] , All
StringReplace, repstr, repstr, к , [[k]] , All
StringReplace, repstr, repstr, л , [[l]] , All
StringReplace, repstr, repstr, м , [[m]] , All
StringReplace, repstr, repstr, н , [[n]] , All
StringReplace, repstr, repstr, о , [[o]] , All
StringReplace, repstr, repstr, п , [[p]] , All
StringReplace, repstr, repstr, р , [[r]] , All
StringReplace, repstr, repstr, с , [[s]] , All
StringReplace, repstr, repstr, т , [[t]] , All
StringReplace, repstr, repstr, у , [[u]] , All
StringReplace, repstr, repstr, ф , [[f]] , All
StringReplace, repstr, repstr, х , [[x]] , All
StringReplace, repstr, repstr, ц , [[cz]] , All
StringReplace, repstr, repstr, ч , [[ch]] , All
StringReplace, repstr, repstr, ш , [[sh]] , All
StringReplace, repstr, repstr, щ , [[shh]] , All
StringReplace, repstr, repstr, ъ , [[````]] , All
StringReplace, repstr, repstr, ы , [[y']] , All
StringReplace, repstr, repstr, ь , [[``]] , All
StringReplace, repstr, repstr, э , [[e``]] , All
StringReplace, repstr, repstr, ю , [[yu]] , All
StringReplace, repstr, repstr, я , [[ya]] , All
StringReplace, repstr, repstr, А , [[A]] , All
StringReplace, repstr, repstr, Б , [[b]] , All
StringReplace, repstr, repstr, В , [[V]] , All
StringReplace, repstr, repstr, Г , [[G]] , All
StringReplace, repstr, repstr, Д , [[D]] , All
StringReplace, repstr, repstr, Е , [[E]] , All
StringReplace, repstr, repstr, Ё , [[YO]] , All
StringReplace, repstr, repstr, Ж , [[ZH]] , All
StringReplace, repstr, repstr, З , [[Z]] , All
StringReplace, repstr, repstr, И , [[i]] , All
StringReplace, repstr, repstr, Й , [[J]] , All
StringReplace, repstr, repstr, К , [[K]] , All
StringReplace, repstr, repstr, Л , [[L]] , All
StringReplace, repstr, repstr, М , [[M]] , All
StringReplace, repstr, repstr, Н , [[N]] , All
StringReplace, repstr, repstr, О , [[O]] , All
StringReplace, repstr, repstr, П , [[P]] , All
StringReplace, repstr, repstr, Р , [[R]] , All
StringReplace, repstr, repstr, С , [[S]] , All
StringReplace, repstr, repstr, Т , [[T]] , All
StringReplace, repstr, repstr, У , [[u]] , All
StringReplace, repstr, repstr, Ф , [[F]] , All
StringReplace, repstr, repstr, Х , [[X]] , All
StringReplace, repstr, repstr, Ц , [[CZ]] , All
StringReplace, repstr, repstr, Ч , [[CH]] , All
StringReplace, repstr, repstr, Ш , [[SH]] , All
StringReplace, repstr, repstr, Щ , [[SHH]] , All
StringReplace, repstr, repstr, Ъ , [[````]] , All
StringReplace, repstr, repstr, Ы , [[Y']] , All
StringReplace, repstr, repstr, Ь , [[``]] , All
StringReplace, repstr, repstr, Э , [[E``]] , All
StringReplace, repstr, repstr, Ю , [[YU]] , All
StringReplace, repstr, repstr, Я , [[YA]] , All
return repstr
}
Работает шикарно.