Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: New Plugin – BuddyPress Links – Beta Support


John James Jacoby
Keymaster

@johnjamesjacoby

MrMaz, if you need help getting your plugin i18n friendly, let me know, I’m happy to kick through the code and clean it up.

Basically just make sure all of your text uses a textdomain like “bp-links” or “buddypress-links” then use a program like po-edit to comb through the source folder and it will sniff the strings and compile them into the po/mo/pot file.

Textdomains are important because if you use “buddypress” for your textdomain, and the buddypress-en_US.po/mo file doesn’t have a translation for it, it won’t get translated. It’s important to use your own. The only reason NOT to use your own is if the string matches EXACTLY the BuddyPress or WordPress strings already.

Skip to toolbar