Support » Plugin: Annual Archive » Location of load_plugin_textdomain

  • Resolved zwadl

    (@zwadl)


    Hi!

    I´m using Version 1.5.2

    It seems you load the translation text domain too early to work together with WPML. At the position it currently sits (within the constructor) it loads the default wp language.
    Maybe put it somwhere after the plugin loaded?

    Workaround for others having the same problem:

    For me it worked putting this

    unload_textdomain( ‘anual-archive’ );
    load_plugin_textdomain(‘anual-archive’);

    into the after_setup_theme action

    br

Viewing 1 replies (of 1 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    Thank you for your useful feedback.

    Your recommendation has been added to the next update we hope to publish in the next weeks. In the meantime, you are more than welcome to test the change that has been included in latest release candidate, available from GitHub at: https://github.com/baden03/Annual-Archive

Viewing 1 replies (of 1 total)
  • The topic ‘Location of load_plugin_textdomain’ is closed to new replies.