wp-inirepo/includes/class-inirepo-i18n.php

50 lines
874 B
PHP
Raw Normal View History

2023-02-16 21:22:46 -05:00
<?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/'
);
}
}