| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Define the internationalization functionality |
| 5 |
* |
| 6 |
* Loads and defines the internationalization files for this plugin |
| 7 |
* so that it is ready for translation. |
| 8 |
* |
| 9 |
* @link listing-themes.com |
| 10 |
* @since 1.0.0 |
| 11 |
* |
| 12 |
* @package Wpdirectorykit |
| 13 |
* @subpackage Wpdirectorykit/includes |
| 14 |
*/ |
| 15 |
|
| 16 |
/** |
| 17 |
* Define the internationalization functionality. |
| 18 |
* |
| 19 |
* Loads and defines the internationalization files for this plugin |
| 20 |
* so that it is ready for translation. |
| 21 |
* |
| 22 |
* @since 1.0.0 |
| 23 |
* @package Wpdirectorykit |
| 24 |
* @subpackage Wpdirectorykit/includes |
| 25 |
* @author listing-themes.com <dev@listing-themes.com> |
| 26 |
*/ |
| 27 |
|
| 28 |
if ( ! defined( 'ABSPATH' ) ) { |
| 29 |
exit; // Exit if accessed directly. |
| 30 |
} |
| 31 |
class Wpdirectorykit_i18n { |
| 32 |
|
| 33 |
|
| 34 |
/** |
| 35 |
* Load the plugin text domain for translation. |
| 36 |
* |
| 37 |
* @since 1.0.0 |
| 38 |
*/ |
| 39 |
public function load_plugin_textdomain() { |
| 40 |
|
| 41 |
load_plugin_textdomain( |
| 42 |
'wpdirectorykit', |
| 43 |
false, |
| 44 |
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/' |
| 45 |
); |
| 46 |
|
| 47 |
} |
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
} |
| 52 |
|