Title: plugin strings not added
Last modified: August 21, 2016

---

# plugin strings not added

 *  [07frieddy](https://wordpress.org/support/users/07frieddy/)
 * (@07frieddy)
 * [12 years ago](https://wordpress.org/support/topic/plugin-strings-not-added/)
 * Hi,
 * I am new to polylang and want to translate strings from PmPro but none of the
   strings are added to the string translation page. I don’t know what I did wrong.
   I added
 * pll_register_string
 * Allows plugins to add their own strings in the “strings translation” panel. The
   function must be called on admin side (the functions.php file is OK for themes).
   
   Usage:
 * pll_register_string($name, $string, $multiline);
    ‘$name’ => (required) name 
   provided for sorting convenience (ex: ‘myplugin’) ‘$string’ => (required) the
   string to translate ‘$multiline’ => (optional) if set to true, the translation
   text field will be multiline, defaults to false
 * to function.php but it doesn’t show up
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [12 years ago](https://wordpress.org/support/topic/plugin-strings-not-added/#post-4916269)
 * Hi!
 * What are these strings you want to translate? Static strings already provided
   by your theme or user defined strings you entered in theme options?
 *  Thread Starter [07frieddy](https://wordpress.org/support/users/07frieddy/)
 * (@07frieddy)
 * [12 years ago](https://wordpress.org/support/topic/plugin-strings-not-added/#post-4916277)
 * Thanks for you reply chouby! I want to use a WPML compatible plugin, namely Paid
   Memberships Pro. Since your website said that you offer WPML compatibility I 
   thought all the plugin strings are added when I install the plugin. But that 
   does not happen.
    I am wondering how I can translate the plugin in polylang.
 * Maybe you can help me to understand how that is done.
 * Frieddy
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [12 years ago](https://wordpress.org/support/topic/plugin-strings-not-added/#post-4916333)
 * Polylang does not offer to translate static strings of plugins and themes. You
   can use Codestyling Localization to do this.
 *  Thread Starter [07frieddy](https://wordpress.org/support/users/07frieddy/)
 * (@07frieddy)
 * [12 years ago](https://wordpress.org/support/topic/plugin-strings-not-added/#post-4916334)
 * Thanks Chouby, I’ll check that out!
 *  Thread Starter [07frieddy](https://wordpress.org/support/users/07frieddy/)
 * (@07frieddy)
 * [12 years ago](https://wordpress.org/support/topic/plugin-strings-not-added/#post-4916335)
 * ok I checked it out but I can not find what I am looking for. I am looking for
   a plugin that makes a site multilingual, so for examples pulls the localizations
   of the individual plugins when I open the site in the specific language. I thought
   that your plugin could do that. Any idea?
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [12 years ago](https://wordpress.org/support/topic/plugin-strings-not-added/#post-4916336)
 * Yes Polylang is a multilingual plugin. You assign a language to a post. And then
   when this post is displayed on frontend, Polylang will load the right language
   for your theme and your plugins.
 * But Polylang does not translate anything. If you plugin is already translated,
   that’s fine, but otherwise, you will have to translate it yourself with Codestyling
   localization

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘plugin strings not added’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

## Tags

 * [string translation](https://wordpress.org/support/topic-tag/string-translation/)

 * 6 replies
 * 2 participants
 * Last reply from: [Chouby](https://wordpress.org/support/users/chouby/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/plugin-strings-not-added/#post-4916336)
 * Status: not resolved