Skip to content

Added "Translate!" button for easy translation via Google Translate#82

Open
silvanperego wants to merge 2 commits intoessiembre:masterfrom
silvanperego:master
Open

Added "Translate!" button for easy translation via Google Translate#82
silvanperego wants to merge 2 commits intoessiembre:masterfrom
silvanperego:master

Conversation

@silvanperego
Copy link

I have added a new feature, which I think is quite handy: A "Translate!" that calls the Translation API of the Google Cloud in order to add missing translations for a specific key.

In order to activate this feature, the user has to configure an "API-Key" in the resource bundle preference page. Such an API-Key can be generated via the GCP console. A test account may be sufficient for limited use.

The "basic tranlsation API" has been used: https://cloud.google.com/translate/docs/basic/translating-text
A description, how to find an API-Key can be found here: https://support.google.com/googleapi/answer/6158862

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant