Support » Plugin: Price Based on Country for WooCommerce » Pretty good plugin. But translation does not work out of the box

  • The translation does not work. But its an easy fix.
    – go to the file wp-content/plugins/woocommerce-product-price-based-on-countries/includes/class-wc-product-price-based-country.php

    – search for the call to the function load_plugin_textdomain and change
    dirname( plugin_basename( __FILE__ ) ) . ‘/languages/’
    – to
    dirname( plugin_basename( __FILE__ ) ) . ‘/../languages/’

    • This topic was modified 1 month, 3 weeks ago by leonardola.
  • You must be logged in to reply to this review.