0

I'm the developer of the plugin https://wordpress.org/plugins/supplier-and-purchase-order-management-for-woocommerce/

I have a problem with wordpress.org not recognizing all languages of the plugin. It includes several forms of English, Spanish and German. German is not recognized at all. Each language is in the language folder of the plugin and in the main php file i declare the folder as such:

add_action( 'init', 'spom_wpdocs_load_textdomain' );
 
function spom_wpdocs_load_textdomain() {
    load_plugin_textdomain( 'supplier-and-purchase-order-management-for-woocommerce', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 
}

While also defining it in the header: * Domain Path: /languages

Inside the folder are all languages mo and po files duly translated in the format of: supplier-and-purchase-order-management-for-woocommerce-en_US.mo and supplier-and-purchase-order-management-for-woocommerce-en_US.po

As you can see looking at the link they are not really recognized.

What am I doing wrong?

SunnySonic
  • 1,318
  • 11
  • 37

0 Answers0