"Plural-Forms: nplurals=2 plural=n != 1 \n" "Content-Type: text/plain charset=UTF-8\n" "Report-Msgid-Bugs-To: Translator Name \n" # This file is distributed under the GNU General Public License v2 or later. pot file as it stands: # WordPress Blank Pot I realize there are a number of non-standard approaches from a POEdit perspective, but I feel I should be able to manually customize my. As you can see, the string is the same as the constant, so POEdit shouldn't have a problem finding things like _( 'my string', MY_TEXTDOMAIN ) I'm using the define() exclusively for IDE code completion. Leaving this here for a record of the problem. Note: there are typos in the above code that are addressed in my answer below. Load_plugin_textdomain( MY_TEXTDOMAIN, false, plugin_dit_path( _FILE_ ) ) Īdd_action( 'plugins-loaded', 'load_mu_plugin_textdomain' )
_loader.php has the following: define( 'MY_TEXTDOMAIN', 'MY_TEXTDOMAIN' ) pot file located at as a starting point, but I'm still getting similar results.
I have also tried using the blank WordPress.
#Poedit license code pro
I have purchased the Pro version, but I think my structure is too customized to be able to benefit from the automated features of Pro. I have a very strict directory structure I must adhere to within mu-plugins, but I would like POEdit to be able to help me generate translation files for specific code within this structure, while ignoring a bunch of others.Īt the moment, POEdit is having difficulty locating valid code.