Is there a way to change the WHMCS language programmaticaly, even with the use of hooks?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
WHMCS API doesn’t have a function to change the language. Therefore, your best bet would be to use an action hook, and when that hook executes, you would need to change the language by directly interacting with the database. You would directly use a
mysql_query()function, since the connection is already established by WHMCS itself.