Title: wordpress plugin translation does not work &#8211; will pay 25€ via SEPA for help
Last modified: July 8, 2021

---

# wordpress plugin translation does not work – will pay 25€ via SEPA for help

 *  [excerptquestion](https://wordpress.org/support/users/excerptquestion/)
 * (@excerptquestion)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wordpress-plugin-translation-does-not-work/)
 * hi!
 * IMPORTANT: if you live somewhere i can wire money via SEPA (EU) i will send you
   25€ if you can help me fix this.
 * i have created a plugin “translation_test” to test the translation capabilities
   of wordpress.
 * **Translation files**
 * in the languages directory there is a file translation_test.pot that contains:
 *     ```
       msgid "Testing"
       msgstr ""
       ```
   
 * and a file translation_test-de_DE.po:
 *     ```
       msgid "Testing"
       msgstr "Das ist ein test"
       ```
   
 * using gettext i have created the corresponding .mo file with this command:
 * `msgfmt translation_test-de_DE.po -o translation_test-de_DE.mo`
 * i have uploaded all 3 files to the plugin’s languages directory: ./translation_test/
   languages/
 * **Plugin php file:**
 * there is also an php file called “translation_test” where the textdomain is loaded
   and an admin page created to display the translated text:
 *     ```
       <?php
   
       /*
       Plugin Name: translation_test
       Plugin URI: 
       Description: translation_test
       Version: 1.0
       Author: 
       Author URI: 
       Text Domain: translation_test
       */
   
       function translation_test_init_textdomain()
       {
           load_plugin_textdomain( 'translation_test', false, dirname( plugin_basename( '__FILE__' ) ) . '/languages/' );
       }
       add_action( 'init', 'translation_test_init_textdomain' );
   
       /**
        * Register a custom menu page.
        */
       function wpdocs_register_my_custom_menu_page(){
           add_menu_page( 'title','custom menu','manage_options','custompage','my_custom_menu_page','',6 ); 
       }
       add_action( 'admin_menu', 'wpdocs_register_my_custom_menu_page' );
   
       function my_custom_menu_page()
       {
           echo __( 'Testing', 'translation_test' );
       }
   
       ?>
       ```
   
 * **Language setting**
 * in the admin area of wordpress i set the language to german and additionally 
   i added the following line to the wp-config.php file:
 * `define ('WPLANG', 'de_DE');`
 * sadly the translation does not work and it always shows “Testing”. does anyone
   know where the error is? is there some bare-bones plugin template that has a 
   working translation that i could use a starting point?
    -  This topic was modified 4 years, 11 months ago by [excerptquestion](https://wordpress.org/support/users/excerptquestion/).
    -  This topic was modified 4 years, 11 months ago by [excerptquestion](https://wordpress.org/support/users/excerptquestion/).

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

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wordpress-plugin-translation-does-not-work/#post-14638322)
 * Such offers and solicitations are not allowed in the support forums, as per the
   [guidelines](https://wordpress.org/support/guidelines/#do-not-offer-to-pay-for-help).
 * Please use the job board instead if you want to hire someone: [https://jobs.wordpress.net/](https://jobs.wordpress.net/)
 *  Moderator [Yui](https://wordpress.org/support/users/fierevere/)
 * (@fierevere)
 * 永子
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wordpress-plugin-translation-does-not-work/#post-14638349)
 * Closed. Our forums are not a job posting board
 * [https://wordpress.org/support/guidelines/#do-not-offer-to-pay-for-help](https://wordpress.org/support/guidelines/#do-not-offer-to-pay-for-help)

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

The topic ‘wordpress plugin translation does not work – will pay 25€ via SEPA for
help’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Yui](https://wordpress.org/support/users/fierevere/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/wordpress-plugin-translation-does-not-work/#post-14638349)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
