Title: [Plugin: Codestyling Localization] load_plugin_textdomain function
Last modified: August 20, 2016

---

# [Plugin: Codestyling Localization] load_plugin_textdomain function

 *  Resolved [sylwiaofwarsaw](https://wordpress.org/support/users/sylwiaofwarsaw/)
 * (@sylwiaofwarsaw)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-load_plugin_textdomain-function/)
 * I got this error from Codestyling Localization in reference to several plugins:
 * Loading Issue: Author is using load_textdomain instead of load_plugin_textdomain
   function. This may break behavior of WordPress, because some filters and actions
   won’t be executed anymore. Please contact the Author about that.
 * But when I contacted the authors I got this reply from the author of Contact 
   Form 7:
 * > This error message is not generated from Contact Form 7 plugin or WordPress
   > itself. I guess one of other plugins (maybe a translation plugin?) you’re using
   > is generating it.
   > The functions load_textdomain() and load_plugin_textdomain() are not equivalent.
   > You can specify .mo file path with load_textdomain(), while you can not with
   > load_plugin_textdomain(). Contact Form 7 has a function that allows you to 
   > create a form template set in any language. It’s necessary to use load_textdomain()
   > to realize that.
 * [http://wordpress.org/extend/plugins/codestyling-localization/](http://wordpress.org/extend/plugins/codestyling-localization/)

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

 *  [floridiculous](https://wordpress.org/support/users/floridiculous/)
 * (@floridiculous)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-load_plugin_textdomain-function/#post-2206331)
 * But does this message actually prevent you from editing the translation files
   with Codestyling Localization?
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-codestyling-localization-load_plugin_textdomain-function/#post-2206364)
 * This is a warning designed to show, that the Author is using a not intended way
   to load translations for a plugin. This may work anyway, but may have also side
   effects for other plugins that respond on loading filters for translations files.
   Because the author used the general load function, others may interprete this
   as normal WP translation load even it is doing a plugin translation load!
 *  [michael.oeser](https://wordpress.org/support/users/michaeloeser-1/)
 * (@michaeloeser-1)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-codestyling-localization-load_plugin_textdomain-function/#post-2206395)
 * I have a similar issue with a my themes. Iuse the plugin always to translate 
   my themes but suddenly I get the same strange message.
 * “Der Autor benutzt load_textdomain statt load_theme_textdomain oder load_child_theme_textdomain
   Funktion”
 * I do NOT use “load_textdomain” in my theme, I use “load_theme_textdomain”. I 
   use that for all of my themes and it used to work.
 * When I rescan the po file I can see that it reads not only the themes files but
   every plugin file that is located on my server as well. It also doesn´t detect
   the correct textdomain name. Very strange and anoying because as I said it used
   to work.
 * Any ideas?
 *  Plugin Author [codestyling](https://wordpress.org/support/users/codestyling/)
 * (@codestyling)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-codestyling-localization-load_plugin_textdomain-function/#post-2206397)
 * This may be related to an early version of WP 3.4 ?
    I don’t have any further
   ideas, please send me a *.zip file of the theme for analysis, if the new version
   1.99.17 doesn’t solve it.

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

The topic ‘[Plugin: Codestyling Localization] load_plugin_textdomain function’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/codestyling-localization_e6e1e3.svg)
 * [Codestyling Localization](https://wordpress.org/plugins/codestyling-localization/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/codestyling-localization/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/codestyling-localization/)
 * [Active Topics](https://wordpress.org/support/plugin/codestyling-localization/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/codestyling-localization/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/codestyling-localization/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [codestyling](https://wordpress.org/support/users/codestyling/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-codestyling-localization-load_plugin_textdomain-function/#post-2206397)
 * Status: resolved