Viewing 2 replies - 1 through 2 (of 2 total)
  • Open file:
    wp-publication-archive.php

    Line 52 reads:

    load_plugin_textdomain( 'wp_pubarch_translate', false, dirname( dirname( plugin_basename( __FILE__) ) ). '/lang/' );

    Should be:
    load_plugin_textdomain( 'wp_pubarch_translate', false, dirname( plugin_basename( __FILE__) ) . '/lang/' );

    Translation files po & mo should be named:

    • wp_pubarch_translate-sv_SE.po
    • wp_pubarch_translate-sv_SE.mo

    Problem:
    dirname function is duplicated.

    Plugin Author Eric Mann

    (@ericmann)

    This will all be fixed in a coming revision.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translate’ is closed to new replies.