wpsc_locale

Change the default language displayed within WP e-Commerce.

A Plugin can change the language with the code:

<?php add_filter( "wpsc_locale", "plugin_function_name" ) ?>

Example of filter function:

/**
* @param  $language Site language
* @return string
*/
function plugin_function_name($language)
{
   $language = 'RU_ru';
   return $language;
}