Drupal commerce crash

I was just generating a new site for a client using drupal commerce.

When I changed the theme on my translatable site from the default theme I got a fatal error:

"Fatal error: Call to undefined function i18n_menu_translated_tree()"

This error is produced by the new theme because it doesn't control the translation sets properly for the menu.

The fix is simple, just navigate to page.tpl.php (or equivalent, the error generally give you the location) to find the line "if (module_exists('i18n')) {" and replace it with "if (module_exists('i18n_menu')) {"

I found this useful information in https://www.drupal.org/node/2208599 and it works like a charm!