Buddypress community language?

Hello

I do not get to change the language of the Spanish theme.

I removed the comments function.php to find the file es_ES.mo. I've placed the file in the directory languages es_ES.mo the theme.

test_localization function ($ locale) (
return "es_ES"
)
add_filter ('locale', 'test_localization');

if (function_exists ('load_theme_textdomain')) (
load_theme_textdomain ('bp-community', TEMPLATEPATH. '/ languages /');
)

I can not get change to Spanish.

I'm doing wrong? I need to do something?

A greeting.