squad1frogs Posted October 14, 2021 Share Posted October 14, 2021 $_LANG['serverCA']['reissueCertificate'] = 'Reissue certificate'; function SSLCENTERWHMCS_ClientAreaCustomButtonArray() { $lang = \MGModule\SSLCENTERWHMCS\mgLibs\Lang::getInstance(); return [ $lang->t('reissueCertificate') => 'ClientAreaCustomReissueCertificate' ( how can I translate this line? ) //$lang->T('contactDetails') => 'ClientAreaCustomContactDetails' ]; } 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted October 15, 2021 Share Posted October 15, 2021 (edited) What is the question ? https://github.com/gogetssl/whmcs-addon/blob/master/modules/servers/SSLCENTERWHMCS/SSLCENTERWHMCS.php Have you tried $_LANG['reissueCertificate'] = "Reissue Certificate" ? as `https://github.com/gogetssl/whmcs-addon/blob/master/modules/servers/SSLCENTERWHMCS/langs/overrides/english.php ` https://developers.whmcs.com/addon-modules/multi-language/ Edited October 15, 2021 by pRieStaKos 0 Quote Link to comment Share on other sites More sharing options...
squad1frogs Posted October 15, 2021 Author Share Posted October 15, 2021 (edited) 6 hours ago, pRieStaKos said: What is the question ? https://github.com/gogetssl/whmcs-addon/blob/master/modules/servers/SSLCENTERWHMCS/SSLCENTERWHMCS.php Have you tried $_LANG['reissueCertificate'] = "Reissue Certificate" ? as `https://github.com/gogetssl/whmcs-addon/blob/master/modules/servers/SSLCENTERWHMCS/langs/overrides/english.php ` https://developers.whmcs.com/addon-modules/multi-language/ yes, tried it, it doesn't work it outputs text to me "reissueCertificate" Edited October 15, 2021 by squad1frogs 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted October 18, 2021 Share Posted October 18, 2021 On 10/15/2021 at 3:13 PM, squad1frogs said: yes, tried it, it doesn't work it outputs text to me "reissueCertificate" $_ADDONLANG['reissueCertificate'] = "Reissue Certificate" ?? Also check here and either apply your lang. text on `addons/SSLCENTERWHMCS/lang/`, either on servers `servers/SSLCENTERWHMCS/langs/` depending where you want to show this. If you can't manage to fix this, open an issue on GOGETSSL, on https://github.com/gogetssl/whmcs-addon/issues 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.