<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly.

/**
 * I18n loader per PK InExPress (FREE).
 */
class PKINEX_I18n {

    /**
     * Bootstrap: registra l'hook che carica le traduzioni.
     */
   /*  public static function init() : void {
        add_action( 'plugins_loaded', array( __CLASS__, 'load' ), 1 );
    }

    
     * Carica il textdomain del plugin FREE.
     
    public static function load() : void {
        if ( ! function_exists( 'load_plugin_textdomain' ) ) {
            return;
        }

        
        if ( ! defined( 'PKINEX_INEXPRESS_DIR' ) ) {
            
            define( 'PKINEX_INEXPRESS_DIR', dirname( __FILE__, 3 ) . '/pk-inexpress.php' );
        }

        load_plugin_textdomain(
            'pk-inexpress',
            false,
            dirname( plugin_basename( PKINEX_INEXPRESS_DIR ) ) . '/languages'
        );
    } */
}


