I´m having a problem to preview my transations on a theme.
I have my theme/languages/es_ES.mo and es_ES.po and also en_US.mo and .po files.
On functions i have this:
load_theme_textdomain( 'twentyten', TEMPLATEPATH . '/languages' );
$locale = get_locale();
$locale_file = TEMPLATEPATH . "/languages/$locale.php";
if ( is_readable( $locale_file ) )
require_once( $locale_file );
That is exactly the same way twenty does. I´ll echo the get_locale and it´s ok, but i can´t see the transations.
I also change on wp-config.php define (‘WPLANG’, ‘es_ES’); in order to use other lang.
The admin area, and common words like “Categories” are translated on fron end, so, i guess it´s not taking my language .mo or .po file and it is using the one from wp-content (actualy i have there one for es_ES too and that´s why i have the admin translated too)
But, i can´t preview my theme language one on fron end side. Any ideas?
