Title: Language bug
Last modified: September 2, 2016

---

# Language bug

 *  [nextplusapp](https://wordpress.org/support/users/nextplusapp/)
 * (@nextplusapp)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/language-bug/)
 * The language file is not loaded.
    After review your code, I found that you place
   the load_plugin_textdomain in the constructor, see the follow:
 *     ```
       /**
       * Constructor
       */
       function ReOrderPostWithinCategory() {
          load_plugin_textdomain('deefusereorder', false, basename(dirname(__FILE__)) . '/languages');
       ```
   
 * The load_plugin_textdomain function should be called only in the WordPress init
   hook.
 * Quick resovle:
 * I place the load_plugin_textdomain in the saveOptionPlugin function.
 *     ```
       //Action qui sauvegardera le paamétrage du plugin
       add_action('init', array(&$this, 'saveOptionPlugin'));
       ```
   
 * It Works.

Viewing 1 replies (of 1 total)

 *  [lucasbhealy](https://wordpress.org/support/users/lucasbhealy/)
 * (@lucasbhealy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/language-bug/#post-7759483)
 * Thank you so much!

Viewing 1 replies (of 1 total)

The topic ‘Language bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/reorder-post-within-categories_c18d38.
   svg)
 * [ReOrder Posts within Categories](https://wordpress.org/plugins/reorder-post-within-categories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/reorder-post-within-categories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/reorder-post-within-categories/)
 * [Active Topics](https://wordpress.org/support/plugin/reorder-post-within-categories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reorder-post-within-categories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reorder-post-within-categories/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [lucasbhealy](https://wordpress.org/support/users/lucasbhealy/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/language-bug/#post-7759483)