WordPress.org

Ready to get started?Download WordPress

Forums

WP Publication Archive
Translate (3 posts)

  1. Djaouws
    Member
    Posted 1 year ago #

    I've edit the default.po file and save it to my languages and named it default-sv_SE.mo but the changes don't take effect. I put in the lang directory.

    http://wordpress.org/extend/plugins/wp-publication-archive/

  2. eeecorona
    Member
    Posted 1 year ago #

    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.

  3. Eric Mann
    Member
    Plugin Author

    Posted 1 year ago #

    This will all be fixed in a coming revision.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags