Skip to content

Commit 69aec6e

Browse files
committed
Change Cloud Translation API link
1 parent aabda38 commit 69aec6e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ Sveltia CMS comes with a handy Google Cloud Translation API integration so that
909909
1. Update your configuration file to enable the [i18n support](https://decapcms.org/docs/i18n/) with multiple locales.
910910
1. Sign in or sign up for [Google Cloud](https://cloud.google.com/) and create a new project.
911911
1. Enable the [Cloud Translation API](https://console.cloud.google.com/apis/library/translate.googleapis.com).
912-
1. Create a [new API key](https://console.cloud.google.com/apis/credentials) and copy it.
912+
1. Create a [new API key](https://console.cloud.google.com/apis/api/translate.googleapis.com/credentials) and copy it.
913913
1. Open an entry in Sveltia CMS.
914914
1. Click on the Translation button on the pane header or each field, right next to the 3-dot menu.
915915
1. Paste your key when prompted.

src/lib/services/integrations/translators/google.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
const serviceId = 'google';
66
const serviceLabel = 'Google Cloud Translation';
77
const developerURL = 'https://console.cloud.google.com/apis/library/translate.googleapis.com';
8-
const apiKeyURL = 'https://console.cloud.google.com/apis/credentials';
8+
const apiKeyURL = 'https://console.cloud.google.com/apis/api/translate.googleapis.com/credentials';
99
const apiKeyPattern = /AIza[0-9A-Za-z-_]{35}/;
1010

1111
/**

0 commit comments

Comments
 (0)