Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Microsoft and Google Translator both link to the page where you can find the necessary API keys, Just looging into the developer account on gengo requires some navigating and a link would definitely help.
Proposed resolution
Add a link to the translator configuration form ('Configuration' > 'Region and Languages' > 'Translation Management Tool translators') which links to the account page with api keys for Gengo (http://sandbox.gengo.com/account/api_settings/), similar to the Google and Microsoft translator.
Remaining tasks
- Adding a link
- providing a patch
- reviewing and committing the patch.
User interface changes
The fields for the API keys will have some more text and a link to the API keys.
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#11 | interdiff-11.txt | 595 bytes | joshi.rohit100 |
#11 | 2543406-11.patch | 1.59 KB | joshi.rohit100 |
| |||
#6 | interdiff-6.txt | 1.11 KB | joshi.rohit100 |
#6 | 2543406-6.patch | 1.59 KB | joshi.rohit100 |
| |||
#4 | 2543406-4.patch | 1.59 KB | joshi.rohit100 |
|
Comments
Comment #1
LKS90 CreditAttribution: LKS90 at MD Systems GmbH commentedHere are some screenshots to compare, I modified the API keys, so don't try to use those as they are not correct :).
Edit: Order of the screenshots:
Gengo
Microsoft
Google
Comment #2
LKS90 CreditAttribution: LKS90 at MD Systems GmbH commentedComment #3
LKS90 CreditAttribution: LKS90 at MD Systems GmbH commentedComment #4
joshi.rohit100Comment #5
LKS90 CreditAttribution: LKS90 at MD Systems GmbH commentedcreate >>a<< new one
Besides that, looks just like I imagined it :D.
Comment #6
joshi.rohit100Comment #7
LKS90 CreditAttribution: LKS90 at MD Systems GmbH commentedAll good!
Comment #8
BerdirExcept this hardcodes the sandbox URL, which is only used by developers and not the actual users ;)
Either hardcode the real one or do it dynamically, which is tricky because it is based on a configuration in the same form.
Comment #9
joshi.rohit100Assigned!
Comment #10
LKS90 CreditAttribution: LKS90 at MD Systems GmbH commentedOpps, yes that's right, we need the actual API keys, not the sandbox ones.
I'd say hardcode the correct URL (which I can't find currently :D). Just create an account on Gengo (https://gengo.com/auth/form/signup/) and find where the API keys are displayed. I created an account there and deleted it, so I have to contact support to use my account again...
Comment #11
joshi.rohit100I think, I will go with "Hardcode the real one" as it is quite easy. :)
Comment #12
BerdirWorks for me.
Comment #18
miro_dietiker