[resolved] translations are not working (2 posts)

  1. Daniele Raimondi
    Posted 2 years ago #

    I'm on the last wp version (3.4.1) with the last version of your plugin ( and translations are not working: I always see the plugin in english.
    The function load_plugin_textdomain needs a relative path to the language folder, not an absolute one.

    And while
    plugin_dir_path( __FILE__ )
    returns an absolute path (with the trailing slash!),
    dirname( plugin_basename( __FILE__ )
    returns the relative path from plugin folder (without trailing slash).

    So I've changed line 36 of attachments.php from

    plugin_dir_path( __FILE__ )


    dirname( plugin_basename( __FILE__ ) )

    Hope you will patch this in the next release.

    Thanks for your plugin!


  2. Jonathan Christopher
    Plugin Author

    Posted 2 years ago #

    Hi Daniele, I'm sorry about that! I've just updated the plugin to version 3.0 (WordPress 3.5+ only) and would love to get this issue resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Attachments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.