PluginProbe
SocketLabs / trunk
SocketLabs vtrunk
trunk 1.2.1 1.2.2
socketlabs / includes / class-socketlabs-i18n.php

class-socketlabs-i18n.php in SocketLabs trunk, at includes/class-socketlabs-i18n.php

46 lines 948 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Define the internationalization functionality
5 *
6 * Loads and defines the internationalization files for this plugin
7 * so that it is ready for translation.
8 *
9 * @link http://socketlabs.com
10 * @since 1.0.0
11 *
12 * @package Socketlabs
13 * @subpackage Socketlabs/includes
14 */
15
16 /**
17 * Define the internationalization functionality.
18 *
19 * Loads and defines the internationalization files for this plugin
20 * so that it is ready for translation.
21 *
22 * @since 1.0.0
23 * @package Socketlabs
24 * @subpackage Socketlabs/includes
25 * @author SocketLabs Dev Team <support@socketlabs.com>
26 */
27 class Socketlabs_i18n {
28
29
30 /**
31 * Load the plugin text domain for translation.
32 *
33 * @since 1.0.0
34 */
35 public function load_plugin_textdomain() {
36
37 load_plugin_textdomain(
38 'socketlabs',
39 false,
40 dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
41 );
42
43 }
44
45 }
46