Hi
In new core upgrade please consider below:
/oc-includes/osclass/formatting.php
in function remove_accents( $string )
please add :
//ru_RU translit
if (is_utf8($string)) {
$chars = array(
"А"=>"a","Б"=>"b","В"=>"v","Г"=>"g",
"Д"=>"d","Е"=>"e","Ж"=>"z","З"=>"z","И"=>"i",
"Й"=>"j","К"=>"k","Л"=>"l","М"=>"m","Н"=>"n",
"О"=>"o","П"=>"p","Р"=>"r","С"=>"s","Т"=>"t",
"У"=>"u","Ф"=>"f","Х"=>"h","Ц"=>"c","Ч"=>"ch",
"Ш"=>"sh","Щ"=>"w","Ъ"=>"","Ы"=>"i","Ь"=>"",
"Э"=>"e","Ю"=>"ju","Я"=>"ja","а"=>"a","б"=>"b",
"в"=>"v","г"=>"g","д"=>"d","е"=>"e", "ё"=>"e","ж"=>"z",
"з"=>"z","и"=>"i","й"=>"j","к"=>"k","л"=>"l",
"м"=>"m","н"=>"n","о"=>"o","п"=>"p","р"=>"r",
"с"=>"s","т"=>"t","у"=>"u","ф"=>"f","х"=>"h",
"ц"=>"c","ч"=>"ch","ш"=>"sh","щ"=>"w","ъ"=>"y",
"ы"=>"i","ь"=>"","э"=>"e","ю"=>"ju","я"=>"ja",
" "=> "-", "."=> "", "/"=> "-", "-" => "-");
$string = strtr($string, $chars);
}
//ru_RU translit
if no mind add check box somewhere in admin panel to whom who wants to activate such translit option
I believe more nationalities, e.g. Bulgarians, will be happy too and can share their translit
Notes:I really happy with core upgrade and happy that MB took a lead !
I like coding style, speed, ALL )
This is a reeeeeaaaaally veeeeeeeery good job !!!