ssergiio Posted February 15, 2019 Share Posted February 15, 2019 Hi! I've been looking for a way to translate the new Tax ID field but I can't find it on the WHMCS/lang files, how can I do that? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted February 15, 2019 Share Posted February 15, 2019 (edited) $_LANG['tax']['taxLabel'] = "Tax ID"; You should update lang files to latest version. Edited February 15, 2019 by pRieStaKos 0 Quote Link to comment Share on other sites More sharing options...
ssergiio Posted February 15, 2019 Author Share Posted February 15, 2019 16 minutes ago, pRieStaKos said: $_LANG['tax']['taxLabel'] = "Tax ID"; You should update lang files to latest version. Nevermind, it translates the field on the client area but not on the admin area if you go into the client profile and I was only checking on the admin part. Thank you! 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted February 15, 2019 Share Posted February 15, 2019 2 minutes ago, ssergiio said: Nevermind, it translates the field on the client area but not on the admin area if you go into the client profile and I was only checking on the admin part. Thank you! $_ADMINLANG['fields']['taxLabel'] = "Tax ID"; 0 Quote Link to comment Share on other sites More sharing options...
ssergiio Posted February 15, 2019 Author Share Posted February 15, 2019 6 minutes ago, pRieStaKos said: $_ADMINLANG['fields']['taxLabel'] = "Tax ID"; Thank you so much! 0 Quote Link to comment Share on other sites More sharing options...
ssergiio Posted February 15, 2019 Author Share Posted February 15, 2019 1 hour ago, pRieStaKos said: $_ADMINLANG['fields']['taxLabel'] = "Tax ID"; I just tried and it's not working, it actually works for you? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 15, 2019 Share Posted February 15, 2019 also, don't edit the original language files, just use Language Overrides to create the modified strings - otherwise your changes will be lost after an update. although it isn't specifically mentioned in the documentation, you can use overrides in the same way on the admin language files too. 0 Quote Link to comment Share on other sites More sharing options...
ssergiio Posted February 15, 2019 Author Share Posted February 15, 2019 1 hour ago, brian! said: also, don't edit the original language files, just use Language Overrides to create the modified strings - otherwise your changes will be lost after an update. although it isn't specifically mentioned in the documentation, you can use overrides in the same way on the admin language files too. I just noticed that admin languages are on a different path. Thank you! 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.