[wp-hackers] "This plugin is not properly prepared for localization" - what am I missing

Braad work at braadmartin.com
Thu Apr 7 14:58:22 UTC 2016


There might be other issues as well, but I see you're setting the "Text 
Domain" in your plugin header as "rsvptoast", but then you're using 
"rsvpmaker" in all your translation functions. According to 
https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/ 
these must match, and your text domain must be set to the slug of your 
plugin.

Text Domain: rsvptoast

__('Thank you!','rsvpmaker');

-Braad


On 04/07/2016 07:47 AM, David F. Carr wrote:
> The translations page for my plugin RSVPMaker displays the message shown
> above
>
> https://translate.wordpress.org/projects/wp-plugins/rsvpmaker
>
> That warning links to the instructions for internationalization, which I
> have tried to follow. Most of the key output strings are encoded with __()
> or _e(). I've created a POT file, and a few translations have been produced
> by users of the plugin. I fixed one issue with the header, where the
> "domain path" for the translation files wasn't specified, but I'm still
> getting the same message.
>
> How do I figure out what I'm missing?
>
> David F. Carr, versatile and inventive writer, editor, and web consultant
> Author, Social Collaboration for Dummies
> <http://www.amazon.com/gp/product/111865854X?ie=UTF8&camp=213733&creative=393185&creativeASIN=111865854X&linkCode=shr&tag=carrcomminc-20&linkId=EZ7CIRPGUSZ7LXLP&qid=1416786890&sr=8-1&keywords=social+collaboration+for+dummies&utm_content=bufferef24a&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer>
> See my work on Forbes <http://www.forbes.com/sites/davidcarr/>, connect
> with me on Twitter <https://twitter.com/davidfcarr>, LinkedIn
> <http://www.linkedin.com/in/davidfcarr>, or Facebook
> <http://www.facebook.com/carrcomm>
>
> david at carrcommunications.com
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list