views_megarow_get_page_theme function doesn't take into account language prefix in url path, e.g.:
for "http://site/admin/..." pages this function returns admin theme, but
for "http://site/ru/admin/..." pages it returns default theme.

To fix this I added after this line:
$path = substr($url['path'], strlen($GLOBALS['base_path']));
this code:
$path = strpos($path, $GLOBALS['language']->prefix . '/') == 0 ? substr($path, strlen($GLOBALS['language']->prefix . '/')) : $path;

Comments

borisy created an issue.