| 1 |
<?php declare(strict_types=1); |
| 2 |
|
| 3 |
namespace MultiSafepay\WooCommerce\Utils; |
| 4 |
|
| 5 |
/** |
| 6 |
* Define the internationalization functionality. |
| 7 |
*/ |
| 8 |
class Internationalization { |
| 9 |
|
| 10 |
/** |
| 11 |
* Load the plugin text domain for translation. |
| 12 |
* |
| 13 |
* @return void |
| 14 |
*/ |
| 15 |
public function load_plugin_textdomain(): void { |
| 16 |
load_plugin_textdomain( 'multisafepay', false, dirname( plugin_basename( __FILE__ ), 3 ) . '/languages/' ); |
| 17 |
} |
| 18 |
} |
| 19 |
|