WordPress.org

Ready to get started?Download WordPress

Forums

Developer
[resolved] Language error (4 posts)

  1. fajo
    Member
    Posted 1 year ago #

    I can't load language file, missing load_plugin_textdomain('a8c-developer', false, dirname( plugin_basename( __FILE__ ) ) . '/languages'); ?

    http://wordpress.org/extend/plugins/developer/

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    Thanks for the heads up! I've added load_plugin_textdomain() and a POT file so the plugin can now be translated.

    If you'd like to submit a translation, we'd be happy to take one via pull request.

  3. fajo
    Member
    Posted 1 year ago #

    Great, just a small correction:

    public function load_plugin_textdomain() {
    load_plugin_textdomain('a8c-developer', null, dirname( plugin_basename( __FILE__ ) ) . '/languages');
    }
  4. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 1 year ago #

    Why do you have the trailing slash removed? I haven't ever had a problem with it added.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.