initial
This commit is contained in:
45
includes/class-apigoat_doc-i18n.php
Normal file
45
includes/class-apigoat_doc-i18n.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* 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 apigoat_doc
|
||||
* @subpackage apigoat_doc/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 apigoat_doc
|
||||
* @subpackage apigoat_doc/includes
|
||||
* @author Your Name <email@example.com>
|
||||
*/
|
||||
class apigoat_doc_i18n
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* Load the plugin text domain for translation.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function load_plugin_textdomain()
|
||||
{
|
||||
|
||||
load_plugin_textdomain(
|
||||
'apigoat_doc',
|
||||
false,
|
||||
dirname(dirname(plugin_basename(__FILE__))) . '/languages/'
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user