Title: Found Error: Wrong Text Domain?
Last modified: September 21, 2017

---

# Found Error: Wrong Text Domain?

 *  [ramen100](https://wordpress.org/support/users/ramen100/)
 * (@ramen100)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/found-error-wrong-text-domain/)
 * I think I found an error in your load_plugin_textdomain in function plugin_init()
 * I created a German localization [here,](https://translate.wordpress.org/projects/wp-plugins/accesspress-facebook-auto-post/stable/de/default)
   but when I downloaded it, I could put it to work
 * – in accesspress-facenook-auto-post.php you define yout textdomain as ‘accesspress-
   facebook-auto-post’ but in line 139 you load the textdomain ‘afap’
 * – naming my files afap-de_DE.mo and .po didn’t work
 * – I noticed that e.g. in accesspress-facenook-auto-post.php line 339 you use
   
   <?php _e(‘Enable Auto Post’, ‘accesspress-facebook-auto-post’); ?> to load language
   entries, which is another textdomain than you loaded earlier
 * – I renamed my language files to accesspress-facebook-auto-post-de_DE.mo / .po
   and replaced the textdomain in load_plugin_textdomain with ‘accesspress-facebook-
   auto-post’ and it works 😉

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

 *  [bikeshdhakal](https://wordpress.org/support/users/bikeshdhakal/)
 * (@bikeshdhakal)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/found-error-wrong-text-domain/#post-9527149)
 * Hello there,
 * We really appreciate you writing in.
 * Thank you very much for finding the solution. We will fix this issue in our next
   updates.
 * Thanks.
 *  Thread Starter [ramen100](https://wordpress.org/support/users/ramen100/)
 * (@ramen100)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/found-error-wrong-text-domain/#post-9527409)
 * You’re welcome!
    I found some Problems with language entries too. Not every entry
   in the settings page works. Maybe you can look over that too 🙂 Thanks

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

The topic ‘Found Error: Wrong Text Domain?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/accesspress-facebook-auto-post_e8ebe9.
   svg)
 * [Social Auto Poster](https://wordpress.org/plugins/accesspress-facebook-auto-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accesspress-facebook-auto-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accesspress-facebook-auto-post/)
 * [Active Topics](https://wordpress.org/support/plugin/accesspress-facebook-auto-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accesspress-facebook-auto-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accesspress-facebook-auto-post/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ramen100](https://wordpress.org/support/users/ramen100/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/found-error-wrong-text-domain/#post-9527409)
 * Status: not resolved