[wp-polyglots] Localizing a theme
Firas D.
fd at firasd.org
Fri Jun 24 17:15:56 GMT 2005
Txopi wrote:
>It doesn't work so as Fira explained in that mail I have added this line
>to the index.php file of the theme where the string I want to translate is
>used:
>
><?php load_theme_textdomain(); ?>
>
>It returns to me and error in the wp-i10n.php file where that function is
>defined, because as you can see, it needs a parameter with something
>called domain:
>
>
Yup, that's the name of your mo file minus the extension.
load_theme_textdomain('themename').
More information about the wp-polyglots
mailing list