We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39d2e12 commit 0fa716dCopy full SHA for 0fa716d
2 files changed
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: ad54a73957c20272992fc3e9d0698aa6a45bbcb7
+refs/heads/master: 31f044b5914230a207149232ea83aa5ac16cc7f7
3
refs/heads/travis: dae77e558b884bc1b165155482d76c8e40b0fca4
4
refs/heads/gh-pages: f8ea70cdc599a5d39c2df480280877afb3bef9bd
5
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
trunk/google-cloud-translate/README.md
@@ -113,6 +113,7 @@ import com.google.cloud.translate.Detection;
113
Then add the following code to detect the text's language:
114
115
```java
116
+Detection detection = translate.detect("Hello, World!");
117
String detectedLanguage = detection.getLanguage();
118
```
119
#### Translating text
0 commit comments