View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003813||Composr||core||public||2019-06-08 16:07||2019-11-14 21:34|
|Reporter||Chris Graham||Assigned To|
|Fixed in Version|
|Summary||0003813: Support Google Translate API v3|
They offer a free tier (I don't believe they did so before).
They provide support for defining terms... so we could provide some kind of editable master-list of terms that should not be translated.
|Tags||Type: External dependency, Type: Internationalisation|
|Time estimation (hours)||8|
Actually the free tier is a pain - you need to put in credit card information, and they'll charge you if you go over a threshold. You can probably put limits on your keys to avoid that, but I don't think we should expect any users to need to risk paying for stuff for inbuilt Composr functionality.
Better to consider integrating other translate APIs, here are the options I've found:
- Microsoft (best choice IMO)
- IBM Watson (I don't trust it to continue to work reliably TBH, as it's translation API is a minor player)
Currently the 'translation' v11 unit test is failing as our free Google API year expired.
I plan to fix that by making the Composr v11 translation API support multiple backends, using hooks, as I did for the weather API.
I'm not sure what we'll do with the Google part of it - probably I'll keep testing working by moving our API key onto a paid tier with low usage limits, so it doesn't trigger a fee.
||The v3 API requires 'service accounts', not API keys, making it more complex (asking anyone who's not a programmer to setup service accounts is too much IMO, especially because with API keys we can share a key across multiple APIs). It is also still in beta. So we can forget that for now at least.|
||Bing Translator support is now added. So a user can choose between Google Translate, or Bing Translator.|
|2019-06-08 16:07||Chris Graham||New Issue|
|2019-06-08 16:07||Chris Graham||Tag Attached: Type: Internationalisation|
|2019-06-27 17:37||Chris Graham||Tag Attached: Roadmap: v11|
|2019-06-27 17:38||Chris Graham||Tag Attached: Type: External dependency|
|2019-07-08 16:15||Chris Graham||Note Added: 0006027|
|2019-07-08 16:28||Chris Graham||Note Added: 0006028|
|2019-07-30 01:58||Chris Graham||Note Added: 0006058|
|2019-07-30 17:22||Chris Graham||Tag Detached: Roadmap: v11|
|2019-07-30 17:22||Chris Graham||Note Added: 0006059|
|2019-07-30 17:40||Chris Graham||Relationship added||related to 0003540|
|2019-07-30 17:41||Chris Graham||Relationship added||related to 0000264|