Title: Help Preparing Plugin for Translation
Last modified: November 10, 2016

---

# Help Preparing Plugin for Translation

 *  [MagicStick](https://wordpress.org/support/users/magicstick/)
 * (@magicstick)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/help-preparing-plugin-for-translation/)
 * Hey guys. Looking for some help if thats ok?
 * I am the author of this plugin: [https://en-gb.wordpress.org/plugins/multisite-post-duplicator/](https://en-gb.wordpress.org/plugins/multisite-post-duplicator/)
 * I thought I had set up my plugin correctly to allow translations. But I’m still
   getting an error:
 * > This plugin is not properly prepared for localization. If you would like to
   > translate this plugin, please contact the author.
 * Here: [https://translate.wordpress.org/locale/fr/default/wp-plugins/multisite-post-duplicator](https://translate.wordpress.org/locale/fr/default/wp-plugins/multisite-post-duplicator)
 * If someone can take a look as to why I’m getting the error and offer some advice?
   it would be greatly appreciated.
 * Thanks
 * Mario

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

 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/help-preparing-plugin-for-translation/#post-8425031)
 * Is the version you are working on in trunk? Because I don’t see a text domain
   there.
 * Instead of
 *     ```
       /*
       Plugin Name: 	Multisite Post Duplicator
       Plugin URI: 	http://www.wpmaz.uk
       Description:    Duplicate any individual page, post or custom post type from one site on your multisite network to another.
       Version: 		1.0.1
       Author: 		Mario Jaconelli
       Author URI:  	http://www.wpmaz.uk
       */
       ```
   
 * it should be
 *     ```
       /*
       Plugin Name: 	Multisite Post Duplicator
       Plugin URI: 	http://www.wpmaz.uk
       Description:    Duplicate any individual page, post or custom post type from one site on your multisite network to another.
       Version: 		1.0.1
       Author: 		Mario Jaconelli
       Author URI:  	http://www.wpmaz.uk
       Text Domain: multisite-post-duplicator
       */
       ```
   
    -  This reply was modified 9 years, 6 months ago by [kjodle](https://wordpress.org/support/users/kjodle/).
 *  Thread Starter [MagicStick](https://wordpress.org/support/users/magicstick/)
 * (@magicstick)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/help-preparing-plugin-for-translation/#post-8425226)
 * Ah thanks for that. Didn’t relaise you had to declare the text domain in the 
   header.
 * Also, shouldn’t the text domain be ‘mpd’ as that is the name of the file where
   the header information is?
 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/help-preparing-plugin-for-translation/#post-8428252)
 * The text-domain should match the plugin slug:
 * > The text domain is a unique identifier, which makes sure WordPress can distinguish
   > between all loaded translations. This increases portability and plays better
   > with already existing WordPress tools. The text domain must match the slug 
   > of the plugin. If your plugin is a single file called my-plugin.php or it is
   > contained in a folder called my-plugin the domain name should be my-plugin.
   > The text domain name must use dashes and not underscores.
 * That’s from [https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#text-domains](https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#text-domains)

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

The topic ‘Help Preparing Plugin for Translation’ is closed to new replies.

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [kjodle](https://wordpress.org/support/users/kjodle/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/help-preparing-plugin-for-translation/#post-8428252)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
