Quote Can you please change ukraine language folder to ukranian and then try ?
Already renamed the directory. Nothing has changed in virtual machine's control widget.
To check whether the contents of the localization file affect the displayed text I have changed string $l['firewall'] to Frwlz in english version of the file index_lang.php (with Ukrainian language selected in WHMCS)
Then I have opened the "page source" in my browser.
The mentioned string was found in the "source" here:
PHP Code <a href="javascript:loadpage('act=firewallplan')" id="lmfirewallplan" class="!hidden lm-link-class">
<span class="left_menu_i"><svg class="h-6 inline" viewBox="-2.4 -2.4 28.8 28.8" fill="none" xmlns="http://www.w3.org/2000/svg"><g stroke-width="0"/><g stroke-linecap="round" stroke-linejoin="round"/><g stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9.5 20H6.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C3 18.48 3 17.92 3 16.8V7.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C4.52 4 5.08 4 6.2 4h9.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C19 5.52 19 6.08 19 7.2V8H3m0 4h8V8m-8 8h6M7 4v4m0 4v4m8-12v4" stroke="#666D80"/><path d="M19.828 19.828a4 4 0 1 1-5.656-5.656S14.5 15 15.5 15.5c0-1 .25-2.5 1.493-3.5 1.007 1 2.053 1.389 2.835 2.172A4 4 0 0 1 21 17c0 1.024-.39 2.047-1.172 2.828" stroke="#005BFF"/></g></svg></span>
<span class="lm_names">Frwlz</span>
</a>
BUT! The visible part of the page was without changes - and I can see the unchanged tag in the source (the part where the caption of the button is):
PHP Code <button id="firewall-cell" onclick="showtab(this.id, 'main-tab-content');show_firewall_window();show_firewall_plans();load_firewall_info();" class="px-3 py-2 h-full rounded-r-lg main-tab-button tab-button flex place-items-center">
<svg class="h-6 inline" viewBox="-2.4 -2.4 28.8 28.8" fill="none" xmlns="http://www.w3.org/2000/svg"><g stroke-width="0"/><g stroke-linecap="round" stroke-linejoin="round"/><g stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9.5 20H6.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C3 18.48 3 17.92 3 16.8V7.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C4.52 4 5.08 4 6.2 4h9.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C19 5.52 19 6.08 19 7.2V8H3m0 4h8V8m-8 8h6M7 4v4m0 4v4m8-12v4" stroke="#666D80"/><path d="M19.828 19.828a4 4 0 1 1-5.656-5.656S14.5 15 15.5 15.5c0-1 .25-2.5 1.493-3.5 1.007 1 2.053 1.389 2.835 2.172A4 4 0 0 1 21 17c0 1.024-.39 2.047-1.172 2.828" stroke="#005BFF"/></g></svg>
Firewall
</button>
|