__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\Framework\Translation;
use Nextend\Framework\Pattern\SingletonTrait;
class Translation {
use SingletonTrait;
/**
* @var AbstractTranslation
*/
private static $platformTranslation;
public function __construct() {
self::$platformTranslation = new Joomla\JoomlaTranslation();
}
public static function _($text) {
return self::$platformTranslation->_($text);
}
public static function getCurrentLocale() {
return self::$platformTranslation->getLocale();
}
}
Translation::getInstance();| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Joomla | Folder | 0775 |
|
|
| AbstractTranslation.php | File | 212 B | 0664 |
|
| Translation.php | File | 587 B | 0664 |
|