created with help by these Websites: [Delicious Brains](https://deliciousbrains.com/wordpress-plugin-development-template-files/) [Wordpress Plugin Boilerplate generator](https://wppb.me/)
48 lines
921 B
PHP
48 lines
921 B
PHP
<?php
|
|
|
|
/**
|
|
* Define the internationalization functionality
|
|
*
|
|
* Loads and defines the internationalization files for this plugin
|
|
* so that it is ready for translation.
|
|
*
|
|
* @link https://wpdev.rainer-kehnen.de
|
|
* @since 1.0.0
|
|
*
|
|
* @package Rk_Wichteln
|
|
* @subpackage Rk_Wichteln/includes
|
|
*/
|
|
|
|
/**
|
|
* Define the internationalization functionality.
|
|
*
|
|
* Loads and defines the internationalization files for this plugin
|
|
* so that it is ready for translation.
|
|
*
|
|
* @since 1.0.0
|
|
* @package Rk_Wichteln
|
|
* @subpackage Rk_Wichteln/includes
|
|
* @author Rainer Kehnen <wpdev.plugin@rainer-kehnen.de>
|
|
*/
|
|
class Rk_Wichteln_i18n {
|
|
|
|
|
|
/**
|
|
* Load the plugin text domain for translation.
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
public function load_plugin_textdomain() {
|
|
|
|
load_plugin_textdomain(
|
|
'rk-wichteln',
|
|
false,
|
|
dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|