30-Second Fix
Enable Google Cloud Translation API (One-Time Setup)
Click This Button
This opens the Translation API page in Google Cloud Console
Select Your Project
Make sure you're in the RIGHT Google Cloud project (the one in your GOOGLE_CLOUD_CREDENTIALS secret)
💡 Tip: Look at the top of the page - there's a dropdown to select projects
Click 'Enable'
Click the big blue ENABLE button on the Translation API page
💡 Tip: It will take 5-10 seconds to enable
Done!
The API is now enabled. Come back and test the dictionary!
If the Translation API is enabled but you still get errors, check your service account permissions:
- Go to IAM & Admin
- Find your service account (email from GOOGLE_CLOUD_CREDENTIALS)
- Make sure it has role:
Cloud Translation API UserorEditor
Google Cloud disables ALL APIs by default for security and billing control. Even though your credentials are valid, each API must be explicitly enabled.
The good news: Translation API is FREE for up to 500,000 characters/month. That's more than enough for your app!