Closed juanagu closed 5 years ago
@juanagu you need to set your fromLanguage, since you're translating from English, set that to SupportedLanguages.English
Thanks! @rishab2113 I had an error on my code. I Replaced: String fromLanguage = languages.first.toString();
To
String fromLanguage = languages.first.languageCode.toString();
Environment: iPhone X Simulator
text that I want to translate: Google LLCl is an American multinational technology company that specializes in Internet-related services and products, which include online advertising technologies, search engine, cloud computing, software, and hardware. It is considered one of the Big Four technology companies, alongside Amazon, Apple and Facebook (6|171 Google was founded in 1998 by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University in California. Together they own about 14 percent of its shares and control 56 percent of the stockholder voting power through supervoting stock. They incorporated Google as a privately held company on September 4, 1998. An initial public offering (IPO) took place on August 19, 2004, and Google moved to its headquarters in Mountain View, California, nicknamed the Googleplex. In August 2015, Google announced plans to reorganize its various interests as a conglomerate called Alphabet Inc. Google is Alphabet's leading subsidiary and will continue to be.
Error:
Unhandled Exception: PlatformException(Error 3, com.firebase.ml, Asked to download an unsupported language.)
Code:
pubspec.yaml