google-cloud-go icon indicating copy to clipboard operation
google-cloud-go copied to clipboard

Branding updates required for Translate API client libraries

Open danoscarmike opened this issue 9 years ago • 10 comments

On November 15, 2016, Google launch a rebranding of Google Translate API to Google Cloud Translation API. This does not impact the method names but the URLbase as well as readmes, samples and comments.

URLbase has been already updated to translation.googleapis.com

We need to have update the Client library, the readme, client library docs, samples and code comments to use "Google Cloud Translation API" instead of Google Translate API. The short version of the new name is "Cloud Translation API" or "Translation API"

Note: the product Google Translate still exists. It is the API Google Translate API that has been re-branded.

danoscarmike avatar Dec 14 '16 00:12 danoscarmike

I think we should also update the import path, to cloud.google.com/go/translation.

Agreed, @zombiezen @broady?

jba avatar Dec 14 '16 00:12 jba

I think we should keep the import path compatible with the auto-generated clients. Auto-generated clients still uses "translate" name: https://godoc.org/google.golang.org/api/translate/v2

rakyll avatar Dec 14 '16 01:12 rakyll

sounds like it'll move to .../api/translation/v2, so let's change this one too.

good spot, @rakyll

broady avatar Dec 14 '16 01:12 broady

Sigh, if only we had type aliases to soft-move packages.

zombiezen avatar Dec 14 '16 16:12 zombiezen

@pongad are we going to move the generated client to translation? I think we should.

jba avatar Jan 03 '17 20:01 jba

Are we waiting for @omaray to OK this? I'm good with the change though. I assume we're also changing the package decl to package translation?

pongad avatar Jan 03 '17 23:01 pongad

So in other languages (and for now), we kept the package name as "google-cloud-translate", as per the request from the Translation team. For instance:

https://github.com/GoogleCloudPlatform/google-cloud-ruby/tree/master/google-cloud-translate https://github.com/GoogleCloudPlatform/google-cloud-java/tree/master/google-cloud-translate https://github.com/GoogleCloudPlatform/google-cloud-node/tree/master/packages/translate https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/translate

omaray avatar Jan 09 '17 15:01 omaray

So, we should tend toward doing nothing? Maybe changing the proto package?

If we change the proto package, we should change google.golang.org/api/translate/... to translation

broady avatar Jan 09 '17 19:01 broady

@omaray For context, the last element of the import path in Go is idiomatically the same as the package name. So cloud.google.com/go/translate should in general be called translate as well.

pongad avatar Jan 09 '17 22:01 pongad

For record: we kept the package name "translate" but renamed the name of the API in README to "Translation". I'll close this for now; please reopen if it's still an issue.

pongad avatar Aug 08 '17 06:08 pongad