baltazorbest Posted January 4, 2017 Share Posted January 4, 2017 Hello. I used WHMCS 7.1.1 and I want do hook for ClientAreaHomepage page, but I don't understand, how I can do multilanguage request to API? For example, I want request announcement: $command = "getannouncements"; $adminuser = "admin"; $results = localAPI($command,$values,$adminuser); but I don't find parameters language. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted January 4, 2017 Share Posted January 4, 2017 I'm pretty sure API requests are only going to work in English? What , specifically are you trying to do? Perhaps someone can help you out , but we'll obviously need more information. 0 Quote Link to comment Share on other sites More sharing options...
baltazorbest Posted January 5, 2017 Author Share Posted January 5, 2017 Sorry, really "getannouncements" API work with all translate language. But I don't understand, in array announcement I see two array for one announcement, with russian language and english language, but in russian language published field = 1, in english language published field = 0. Why is that? 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.