Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

So I installed this plugin http://wordpress.org/extend/plugins/wp-email/

I need a Spanish translation. There is a link that takes you to a list of translation files: http://plugins.trac.wordpress.org/browser/wp-email/i18n/

So I downloaded wp-email-es_ES.mo and wp-email-es_ES.po

How do I install a translation?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

This Plugin uses load_plugin_textdomain(), which by default uses the Plugin's root directory as the path for the translation files.

So: simply add the translation files you downloaded to the Plugin root directory, and you should be good to go.

Edit

And you're using WordPress in es_ES?

No, I just want to translate that plugin. It generates a form with fields such as "Your Name" "Your Email" "Your Remark" and I need that form translated in Spanish.

If you actually want WordPress to use those translation files, you have to tell it to use them, by changing WPLANG from en_US to es_ES in wp-config.php.

share|improve this answer
    
already added the two files to the plugin's root directory and I see no change. –  leonel Feb 21 '12 at 19:44
    
And you're using WordPress in es_ES? –  Chip Bennett Feb 21 '12 at 19:48
    
No, I just want to translate that plugin. It generates a form with fields such as "Your Name" "Your Email" "Your Remark" and I need that form translated in Spanish. –  leonel Feb 21 '12 at 19:50
    
See updated answer. How do you expect WordPress to know to use those es_ES translation files, when you've configured it to use en_US? –  Chip Bennett Feb 21 '12 at 19:54
    
Is there a way for WordPress to only use translation files for a particular plugin and leave everything else in English, untouched? –  leonel Feb 21 '12 at 19:57

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.