<?php

/**
 * Define the internationalization functionality
 *
 * Loads and defines the internationalization files for this plugin
 * so that it is ready for translation.
 *
 * @link       https://immowp.fr
 * @since      1.0.0
 *
 * @package    Immowp_Gestion_Immobiliere
 * @subpackage Immowp_Gestion_Immobiliere/includes
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Define the internationalization functionality.
 *
 * Loads and defines the internationalization files for this plugin
 * so that it is ready for translation.
 *
 * @since      1.0.0
 * @package    Immowp_Gestion_Immobiliere
 * @subpackage Immowp_Gestion_Immobiliere/includes
 * @author     ImmoWP <contact@immowp.fr>
 */
class Immowp_Gestion_Immobiliere_i18n {


	/**
	 * Load the plugin text domain for translation.
	 *
	 * Since WordPress 4.6, when a plugin is hosted on WordPress.org, 
	 * translations are automatically loaded by WordPress.
	 * This function is no longer needed for WordPress.org hosted plugins.
	 *
	 * @since    1.0.0
	 * @deprecated 4.6.0 Translations are now automatically loaded by WordPress.
	 */
	public function load_plugin_textdomain() {
		// WordPress automatically loads translations for plugins hosted on WordPress.org.
		// No action needed since WordPress 4.6+.
		// If you need manual loading for local development, uncomment the code below:
		
		/*
		load_plugin_textdomain(
			'immowp-gestion-immobiliere',
			false,
			dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
		);
		*/
	}
}
