--- superfish.module.old	2012-07-17 17:00:11.000000000 +0800
+++ superfish.module	2012-07-17 17:01:42.000000000 +0800
@@ -824,6 +824,14 @@ function theme_superfish($variables) {
 
   $id = $variables['id'];
   $menu_name = $variables['menu_name'];
+  if (module_exists('i18n_menu') && module_exists('i18n_variable')) {
+    if ($menu_name == 'main-menu') {
+      $menu_name = variable_get('menu_main_links_source', 'main-menu');
+    }
+    if ($menu_name == 'user-name') {
+      $menu_name = variable_get('menu_secondary_links_source', 'user-menu');
+    }
+  }
   $mlid = $variables['mlid'];
   $sfsettings = $variables['sfsettings'];
 
@@ -1099,4 +1107,4 @@ function theme_superfish_build($variable
   $output['parent_children'] = $parent_children;
   $output['single_children'] = $single_children;
   return $output;
-}
\ No newline at end of file
+}
