|
...
|
...
|
@@ -56,7 +56,7 @@ class RouteMap extends Base |
|
|
|
if(preg_match('/[\x{4e00}-\x{9fa5}]/u', $title)){
|
|
|
|
$title = Translate::tran($title, 'en');
|
|
|
|
}
|
|
|
|
if (preg_match('/[а-яА-Я]/u', $title)) {
|
|
|
|
if (preg_match('/[а-яА-Я]/u', $title) || mb_ereg('[а-яА-Я]', $title)) {
|
|
|
|
$title = Translate::tran($title, 'en');
|
|
|
|
}
|
|
|
|
$i=1;
|
...
|
...
|
|