setGoogleAccess ( string token ) : void
Set a Google Translate access. Important to use before translateGoogle.
Open an account
1) Go to the service page and click Open Account or Start Free Trial2) Enter your information and credit card
3) When you are on the Cloud console, enter the “Cloud Translation API” search engine then select the associated marketplace service
4) Click Activate and optionally associate billing account
5) Go to the Credentials tab, Create Credentials, API Key
6) Copy the code into setGoogleAccess
Instead of a Google Translate token, you can use a Cloud idIA Tech code to avoid having to open several accounts. Do not use this function in this case. You can also explicitly declare your cloud code in setGoogleAccess with a prefix in the form "idiatech_12345678" where 12345678 is your cloud code.
Parameters