Buddypress community language?


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’:wink:;

if (function_exists (‘load_theme_textdomain’:wink:) (

load_theme_textdomain (‘bp-community’, TEMPLATEPATH. ‘/ languages /’:wink:;


I can not get change to Spanish.

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

A greeting.