2014-05-03 22:28:23 +03:00
|
|
|
<?php
|
|
|
|
|
2014-05-05 07:17:23 +03:00
|
|
|
/**
|
2014-08-19 00:00:09 +03:00
|
|
|
* Define the internationalization functionality
|
2014-07-29 23:56:18 +03:00
|
|
|
*
|
|
|
|
* Loads and defines the internationalization files for this plugin
|
2014-11-10 17:57:08 +02:00
|
|
|
* so that it is ready for translation.
|
2014-05-05 07:17:23 +03:00
|
|
|
*
|
|
|
|
* @link http://example.com
|
|
|
|
* @since 1.0.0
|
2014-07-29 23:56:18 +03:00
|
|
|
*
|
|
|
|
* @package Plugin_Name
|
|
|
|
* @subpackage Plugin_Name/includes
|
2014-05-05 07:17:23 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2014-07-29 23:56:18 +03:00
|
|
|
* Define the internationalization functionality.
|
2014-05-05 07:17:23 +03:00
|
|
|
*
|
2014-07-29 23:56:18 +03:00
|
|
|
* Loads and defines the internationalization files for this plugin
|
2014-11-10 17:57:08 +02:00
|
|
|
* so that it is ready for translation.
|
2014-05-05 07:17:23 +03:00
|
|
|
*
|
2014-07-29 23:56:18 +03:00
|
|
|
* @since 1.0.0
|
2014-05-05 07:17:23 +03:00
|
|
|
* @package Plugin_Name
|
|
|
|
* @subpackage Plugin_Name/includes
|
|
|
|
* @author Your Name <email@example.com>
|
|
|
|
*/
|
2014-05-09 01:10:22 +03:00
|
|
|
class Plugin_Name_i18n {
|
|
|
|
|
2014-05-05 07:17:23 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Load the plugin text domain for translation.
|
|
|
|
*
|
|
|
|
* @since 1.0.0
|
|
|
|
*/
|
|
|
|
public function load_plugin_textdomain() {
|
|
|
|
|
2014-07-29 23:56:18 +03:00
|
|
|
load_plugin_textdomain(
|
2015-12-06 03:46:30 +02:00
|
|
|
'plugin-name',
|
2014-09-11 07:19:37 +03:00
|
|
|
false,
|
2014-07-29 23:56:18 +03:00
|
|
|
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
|
|
|
|
);
|
2014-05-05 07:17:23 +03:00
|
|
|
|
2014-05-09 01:10:22 +03:00
|
|
|
}
|
2014-05-05 07:17:23 +03:00
|
|
|
|
2015-12-06 03:46:30 +02:00
|
|
|
|
2014-05-05 07:17:23 +03:00
|
|
|
|
2014-05-09 01:10:22 +03:00
|
|
|
}
|