(2015-01-17, 06:28:07)Angryboy Wrote: What kinds of titles are being used? For example, "Iñtërnâtiônàlizætiøn" comes out as "i-nt-ern-ati-on-alizaetion".
I tried Hebrew titles and even Arabic ones ... seems like the iconv in backend.class.php is not working as should ....
but here is the is the i18n way ...
PHP Code:
{
global $i18n;
if (isset($i18n['TRANSLITERATION']) && is_array($translit=$i18n['TRANSLITERATION']) && count($translit>0))
{$str = str_replace(array_keys($translit),array_values($translit),$str);}
$str = to7bit($str, 'UTF-8');
$str = clean_url($str);
return $str;
}
like that it can be used with your own lang in admin
My lang file ( /admin/lang/__my-lang-file__.php ) includes :
PHP Code:
"TRANSLITERATION" => array(
"א"=>"a","ב"=>"b","ג"=>"g","ד"=>"d"
,"ה"=>"h","ו"=>"v","ז"=>"z","ח"=>"h","ט"=>"t","י"=>"y","כ"=>"k","ל"=>"l","מ"=>"m","נ"=>"n","ס"=>"s","ע"=>"a","פ"=>"p","צ"=>"tz","ק"=>"k","ר"=>"r","ש"=>"sh","ת"=>"t","ץ"=>"tz","ך"=>"ch","ף"=>"f","ם"=>"m"
),
========== // Edit //=============
Sent to github ...