Thank you for bringing this issue to my attention. I have downloaded and activated CodeStyling Localization version 1.99.30, by Heiko Rabe. When I navigate to the Tools/Localization screen (Manage Language Files) I can see the message you quote in your post.I believe this is more an issue for CodeStyling Localization than for MLA.
Here is the code MLA uses to load language files:
/*
* To override the plugin's translation files for one, some or all strings,
* create a sub-directory named 'media-library-assistant' in the WordPress
* WP_LANG_DIR (e.g., /wp-content/languages) directory.
*/
load_textdomain( $text_domain, trailingslashit( WP_LANG_DIR ) . $text_domain . '/' . $text_domain . '-' . $locale . '.mo' );
load_plugin_textdomain( $text_domain, false, MLA_PLUGIN_BASENAME . '/languages/' );
As you can see, MLA does in fact use load_plugin_domain
to load its own language files. The additional call to load_textdomain
allows a plugin user to override some or all of the translations provided by MLA with their own translations. This is a common technique, which I adapted from these articles:
I looked through the CodeStyling Localization source code and found the source of its message in codestyling-localization.php
, function csp_po_get_plugin_capabilities
. This function goes through the plugin source files looking for calls to the domain-loading functions. However, it only looks for one call and stops after finding the first call. For MLA, this means that the second call is never found and processed.
I will report my findings to the CodeStyling Localization author. According to the plugin’s official website, support is only available by e-mailing the author. He does not monitor or respond to opsts in the WordPress Respository Support Forum for the plugin.
I am marking this issue resolved because I do not believe any changes to MLA are required. I don’t believe any of the strange behavior you mentioned is caused by MLA, but please update this topic if you have problems or further questions about this topic. Thanks for your interest in MLA.