-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclass-ar-model-viewer-for-woocommerce-i18n.php
48 lines (41 loc) · 1.18 KB
/
class-ar-model-viewer-for-woocommerce-i18n.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* Define the internationalization functionality
*
* Loads and defines the internationalization files for this plugin
* so that it is ready for translation.
*
* @link https://racmanuel.dev
* @since 1.0.0
*
* @package Ar_Model_Viewer_For_Woocommerce
* @subpackage Ar_Model_Viewer_For_Woocommerce/includes
*/
/**
* Define the internationalization functionality.
*
* Loads and defines the internationalization files for this plugin
* so that it is ready for translation.
*
* @todo Justify why we need this or remove it. AFAIK nothing can be done with textdomains else than loading it.
* This, if true, makes this class a total waste of code.
*
* @since 1.0.0
* @package Ar_Model_Viewer_For_Woocommerce
* @subpackage Ar_Model_Viewer_For_Woocommerce/includes
* @author Manuel Ramirez Coronel <ra_cm@outlook.com>
*/
class Ar_Model_Viewer_For_Woocommerce_I18n {
/**
* Load the plugin text domain for translation.
*
* @since 1.0.0
*/
public function load_plugin_textdomain() {
load_plugin_textdomain(
'ar-model-viewer-for-woocommerce',
false,
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
);
}
}