| 1 |
<?php |
| 2 |
/** |
| 3 |
* Define the internationalization functionality |
| 4 |
* |
| 5 |
* Loads and defines the internationalization files for this plugin |
| 6 |
* so that it is ready for translation. |
| 7 |
* |
| 8 |
* @since 1.0.0 |
| 9 |
* @author GeoDirectory Team <info@wpgeodirectory.com> |
| 10 |
*/ |
| 11 |
class UsersWP_i18n { |
| 12 |
|
| 13 |
/** |
| 14 |
* Load the plugin text domain for translation. |
| 15 |
* |
| 16 |
* @since 1.0.0 |
| 17 |
* @package userswp |
| 18 |
* @return void |
| 19 |
*/ |
| 20 |
public function load_plugin_textdomain() { |
| 21 |
|
| 22 |
load_plugin_textdomain( 'userswp', false, basename( dirname (dirname( __FILE__ ) ) ) . '/languages' ); |
| 23 |
|
| 24 |
do_action('uwp_loaded'); |
| 25 |
|
| 26 |
} |
| 27 |
|
| 28 |
} |