Title: Gettext test failed
Last modified: September 1, 2016

---

# Gettext test failed

 *  [francescobagnoli](https://wordpress.org/support/users/francescobagnoli/)
 * (@francescobagnoli)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/gettext-test-failed/)
 * > Gettext test failed. Activate WPPP debugging for additional info.
 * Test failed at
 * _class.admin-renderer.php (line 205)_
 *     ```
       if ( $mo->translate( 'native-gettext-test' ) !== 'success' ) {
           $result = 4;
           return 4;
       }
       ```
   
 * the method
 *     ```
       $mo->translate( 'native-gettext-test' )
       ```
   
 * return string
 * > native-gettext-test
 * not “success”… now, i have opened _native-gettext-test.pot_ and “native-gettext-
   test” translation is empty string…
 * how solve it?
 * [https://wordpress.org/plugins/wp-performance-pack/](https://wordpress.org/plugins/wp-performance-pack/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bjoern](https://wordpress.org/support/users/greencp/)
 * (@greencp)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/gettext-test-failed/#post-9233693)
 * _native-gettext-test.pot_ isn’t used for translation. _native-gettext-test.**
   mo**_ is used and contains the actual translation. The .pot file shouldn’t even
   be included in the plugin and it will be removed with the next release. So that’s
   not the reason the test failed in your case.
 * Try to use alternative MO reader instead of native gettext.

Viewing 1 replies (of 1 total)

The topic ‘Gettext test failed’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-performance-pack_6d9fb6.svg)
 * [WP Performance Pack](https://wordpress.org/plugins/wp-performance-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-performance-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-performance-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-performance-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-performance-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-performance-pack/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bjoern](https://wordpress.org/support/users/greencp/)
 * Last activity: [8 years, 12 months ago](https://wordpress.org/support/topic/gettext-test-failed/#post-9233693)
 * Status: not resolved