Writing a Plugin That Can Be Localized by WPML
…er, had no effect. A little bit of digging through the WPML source eventually uncovered my mistake: I was simply calling load_plugin_textdomain() too early! I was loading my plugins text domain in my plugins constructor, which of course happened after the WPLANG constant was defined, but before WPML had a chance to set the selected locale, which explained why my translation worked for the one but not the other. Moving the call to load_plugin_textd…