50 lines
874 B
PHP
50 lines
874 B
PHP
|
<?php
|
||
|
|
||
|
namespace cooini\iniRepo;
|
||
|
|
||
|
/**
|
||
|
* Define the internationalization functionality
|
||
|
*
|
||
|
* Loads and defines the internationalization files for this plugin
|
||
|
* so that it is ready for translation.
|
||
|
*
|
||
|
* @link http://example.com
|
||
|
* @since 1.0.0
|
||
|
*
|
||
|
* @package
|
||
|
* @subpackage Inirepo/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 Inirepo
|
||
|
* @subpackage Inirepo/includes
|
||
|
* @author php.dev@cooini.com
|
||
|
*/
|
||
|
class Inirepo_i18n {
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Load the plugin text domain for translation.
|
||
|
*
|
||
|
* @since 1.0.0
|
||
|
*/
|
||
|
public function load_plugin_textdomain() {
|
||
|
|
||
|
load_plugin_textdomain(
|
||
|
'inirepo',
|
||
|
false,
|
||
|
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
|
||
|
);
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
}
|