Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /home/nandedex/www/wp-content/plugins/wp-whatsapp/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : /home/nandedex/www/wp-content/plugins/wp-whatsapp/includes/I18n.php
<?php
namespace NTA_WhatsApp;

defined( 'ABSPATH' ) || exit;
/**
 * I18n Logic
 */
class I18n {
	public static function loadPluginTextdomain() {
		if ( function_exists( 'determine_locale' ) ) {
			$locale = determine_locale();
		} else {
			$locale = is_admin() ? get_user_locale() : get_locale();
		}
		unload_textdomain( 'wp-whatsapp' );
		load_textdomain( 'wp-whatsapp', NTA_WHATSAPP_PLUGIN_DIR . '/languages/' . $locale . '.mo' );
		load_plugin_textdomain( 'wp-whatsapp', false, NTA_WHATSAPP_PLUGIN_DIR . '/languages/' );
	}

	public static function getTranslation() {
		$translation = array(
			'online'  => __( 'Online', 'wp-whatsapp' ),
			'offline' => __( 'Offline', 'wp-whatsapp' ),
		);

		return $translation;
	}
}

F1le Man4ger