38 lines
606 B
PHP
38 lines
606 B
PHP
<?php
|
|
|
|
/**
|
|
* Define the internationalization functionality.
|
|
*
|
|
* @link https://plugins360.com
|
|
* @since 1.0.0
|
|
*
|
|
* @package All_In_One_Video_Gallery
|
|
*/
|
|
|
|
// Exit if accessed directly
|
|
if ( ! defined( 'WPINC' ) ) {
|
|
die;
|
|
}
|
|
|
|
/**
|
|
* AIOVG_i18n class.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
class AIOVG_i18n {
|
|
|
|
/**
|
|
* Load the plugin text domain for translation.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
public function load_plugin_textdomain() {
|
|
load_plugin_textdomain(
|
|
'all-in-one-video-gallery',
|
|
false,
|
|
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
|
|
);
|
|
}
|
|
|
|
}
|