48 lines
951 B
PHP
48 lines
951 B
PHP
<?php
|
|
|
|
/**
|
|
* Define the internationalization functionality
|
|
*
|
|
* Loads and defines the internationalization files for this plugin
|
|
* so that it is ready for translation.
|
|
*
|
|
* @link https://github.com/Duskell
|
|
* @since 1.0.0
|
|
*
|
|
* @package Partnerexpo_Core
|
|
* @subpackage Partnerexpo_Core/includes
|
|
*/
|
|
|
|
/**
|
|
* 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 Partnerexpo_Core
|
|
* @subpackage Partnerexpo_Core/includes
|
|
* @author Juhász Levente <juhasz.levente@rendszerepito.hu>
|
|
*/
|
|
class Partnerexpo_Core_i18n {
|
|
|
|
|
|
/**
|
|
* Load the plugin text domain for translation.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
public function load_plugin_textdomain() {
|
|
|
|
load_plugin_textdomain(
|
|
'partnerexpo-core',
|
|
false,
|
|
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|