Linux evo.fastest-server.com 5.14.0-284.1101.el9.tuxcare.11.els11.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 14 13:30:35 UTC 2026 x86_64
LiteSpeed
Server IP : 103.249.112.113 & Your IP : 216.73.217.135
Domains : 988 Domain
User : tanishks
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
l.v.e-manager /
utils /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-09-04 11:50
downgrades
[ DIR ]
drwxr-xr-x
2026-09-04 11:42
activate
2.3
KB
-rwxr-xr-x
2026-08-11 11:38
autorestore.py
11.18
KB
-rwxr-xr-x
2026-08-11 11:38
cache_phpdata.py
7.27
KB
-rwxr-xr-x
2026-08-11 11:38
cache_rubygems.py
1.42
KB
-rwxr-xr-x
2026-08-11 11:38
clinfo.php
216
B
-rw-r--r--
2026-08-11 11:38
cloudlinux-awp-installer.py
5.29
KB
-rwxr-xr-x
2026-08-11 11:38
cloudlinux-cli-user.py
491
B
-rwxr-xr-x
2026-08-11 11:38
cloudlinux-cli.py
490
B
-rwxr-xr-x
2026-08-11 11:38
cloudlinux-selector.py
654
B
-rwxr-xr-x
2026-08-11 11:38
cloudlinux-xray.py
807
B
-rwxr-xr-x
2026-08-11 11:38
cloudlinux_cli.py
48.11
KB
-rw-r--r--
2026-08-11 11:38
cloudlinux_cli_user.py
19.98
KB
-rw-r--r--
2026-08-11 11:38
cpanel_api.py
11.39
KB
-rw-r--r--
2026-08-11 11:38
create_translate_template.py
505
B
-rwxr-xr-x
2026-08-11 11:38
delete-isp-plugin.sh
318
B
-rwxr-xr-x
2026-08-11 11:38
dynamicui.py
4.53
KB
-rwxr-xr-x
2026-08-11 11:38
dynamicui_base.py
565
B
-rw-r--r--
2026-08-11 11:38
dynamicui_cpanel.py
3.05
KB
-rw-r--r--
2026-08-11 11:38
dynamicui_da.py
2.44
KB
-rw-r--r--
2026-08-11 11:38
dynamicui_plesk.py
1.25
KB
-rw-r--r--
2026-08-11 11:38
fix-nodejs-environments.py
3.59
KB
-rwxr-xr-x
2026-08-11 11:38
generate_locale_files_for_plesk.py
2.97
KB
-rwxr-xr-x
2026-08-11 11:38
install-cpanel-plugin.sh
1.38
KB
-rwxr-xr-x
2026-08-11 11:38
install-plesk-plugin.sh
1.8
KB
-rwxr-xr-x
2026-08-11 11:38
installsupergrp.sh
991
B
-rwxr-xr-x
2026-08-11 11:38
libcagefs.py
7.61
KB
-rw-r--r--
2026-08-11 11:38
libcloudlinux.py
38.66
KB
-rw-r--r--
2026-08-11 11:38
libsupport.py
2.45
KB
-rw-r--r--
2026-08-11 11:38
node_wrapper
272
B
-rwxr-xr-x
2026-08-11 11:38
npm_wrapper
1.69
KB
-rwxr-xr-x
2026-08-11 11:38
plesk-cgi.sh
3.15
KB
-rwxr-xr-x
2026-08-11 11:38
plesk_nginx_php_sync.py
5.87
KB
-rw-r--r--
2026-08-11 11:38
python_wrapper
572
B
-rwxr-xr-x
2026-08-11 11:38
set_env_vars.py
4.57
KB
-rwxr-xr-x
2026-08-11 11:38
sync_locales.py
2.97
KB
-rwxr-xr-x
2026-08-11 11:38
ui_package_installer.py
4.93
KB
-rw-r--r--
2026-08-11 11:38
Save
Rename
#!/opt/cloudlinux/venv/bin/python3 # coding:utf-8 # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENSE.TXT from __future__ import print_function from __future__ import division from __future__ import absolute_import import copy import argparse import os import json BASE_DIR = os.path.join(os.path.dirname(__file__), "../") USER_LOCALES_SOURCE = '/usr/share/l.v.e-locales/' MAP = { 'cPanel': BASE_DIR + 'cpanel/spa/assets/i18n', 'Plesk': BASE_DIR + 'plesk/htdocs/modules/plesk-lvemanager/i18n/', 'DirectAdmin': BASE_DIR + 'directadmin/lvemanager_spa/images/assets/i18n/', } I18N_SOURCE = BASE_DIR + 'commons/spa-resources/i18n/' def main(): """ Analyze arguments and merge locale files :return: """ parser = argparse.ArgumentParser( description='Convert yaml locales to json') parser.add_argument( '--panel', '-p', type=str, help="The target control panel" ) args = parser.parse_args() if not os.path.isdir(USER_LOCALES_SOURCE): return panel_path = MAP.get(args.panel, I18N_SOURCE) for locale in available_locales(USER_LOCALES_SOURCE): user_locale = read_locale_json(USER_LOCALES_SOURCE, locale) current_locale = read_locale_json(I18N_SOURCE, locale) if current_locale: current_locale = nested_merge(copy.deepcopy(current_locale), user_locale) write_locale_json(panel_path, locale, current_locale) def available_locales(path): """ Get list of locales in directory :param path: directory with locales :return: list of locales """ for locale in os.listdir(path): filename = '{}/{}'.format(path, locale) if os.path.isfile(filename) and filename.endswith('.json'): yield locale.split('.')[0] def read_locale_json(path, locale): """ read locale from directory :param path: directory with locales :param locale: locale (en, etc) :return: locale data """ filename = '{}/{}.json'.format(path, locale) if os.path.isfile(filename): with open(filename, 'r') as f: return json.load(f) def write_locale_json(path, locale, data): """ Save json into file :param path: directory with locales :param locale: locale (en, etc) :param data: locale dict :return: """ with open('{}/{}.json'.format(path, locale), 'w') as f: return json.dump(data, f, indent=4) def nested_merge(a, b, path=None): """ Merger a into b :param a: dict :param b: dict :return: merger dict """ path = path or [] for key in b: if key in a: if isinstance(a[key], dict) and isinstance(b[key], dict): nested_merge(a[key], b[key], path + [str(key)]) else: a[key] = b[key] else: a[key] = b[key] return a if __name__ == '__main__': main()