zitu4life Posted September 20, 2019 Share Posted September 20, 2019 (edited) Hello there I thing it is hard-coded, but just to make sure! It is not possible to translate picture below. I think those info comes from DOMAIN REGISTRAR, if so we should live with that. I have searched on client area languages and did not find nothing. Edited September 20, 2019 by zitu4life 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 21, 2019 Share Posted September 21, 2019 8 hours ago, zitu4life said: I thing it is hard-coded, but just to make sure! It is not possible to translate picture below. it is possible. 🙂 8 hours ago, zitu4life said: I think those info comes from DOMAIN REGISTRAR they come from the database... 9 hours ago, zitu4life said: I have searched on client area languages and did not find nothing. they don't exist by default, but you can addtranslations for any language your WHMCS install uses. Quote I can remember posting code back in April 2015, which I assume was in a v6 beta board because I can't find the thread, but kept a local copy of the code.. that was basically a neat Smarty IF statement that checked for language overrides - but in recent versions, the domainregister template is coded to use language translations for the TLD Categories if they exist... although none of been created in the language files by default, so you wouldn't know unless you examined the code and could see what it was trying to do. <a href="#" data-category="{$category}" class="label label-default">{lang key="domainTldCategory.$category" defaultValue=$category} ({$count})</a> which means that you can create Language Overrides for the categories that you want to translate - any that you don't want to translate, don't make overrides for. so let's say we edit/create the /lang/overrides/french.php file (with apologies for any French-speakers!)... <?php $_LANG['domainTldCategory']['Popular'] = "Populaire"; $_LANG['domainTldCategory']['gTLD'] = "Général"; $_LANG['domainTldCategory']['ccTLD'] = "Des pays"; $_LANG['domainTldCategory']['Business'] = "Affaires"; $_LANG['domainTldCategory']['Leisure and Recreation'] = "Loisir"; the solution would still work in the latest version. 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.