![]() ![]() quality translation capabilities directly to your websites and applications. Small 10-20 Characters and large 250-400 Characters) I am not sure why google API behaving like this. DeepL API Documentation - everything you need to get started with the DeepL. Note : The Character length of my Input values are always less than 500 characters and this problem occur for all size sentences (i.e. This problem is occur after 8-12 requests. This Exception occur in random manner that means for same sentence (Value) it translate correctly in all languages but through exception for one or two languages. Translations.Add(translation.TranslatedText) Ībove function is Working fine for me, but for some values this function through an exception says " Access Not Configured The remote server returned an error: (403) Forbidden.". Installation We can install the package by running: npm install vitalets/google-translate-api Usage We can use the translate function that comes with this module to do our translation. currently this code foreach (2.Data.TranslationsResource translation in response.Translations) TranslationsListResponse response = (srcText, tragetlan).Fetch() Var service = new TranslateService( new BaseClientService.Initializer() GetLanguageCode string googlekey = " Axxxxxxxxxxxxxxxxxxxxxxxxxxxxw" 2.Data.LanguagesResource ss = new 2.Data.LanguagesResource() ![]() LanguagesListResponse ls = new LanguagesListResponse() Public static string TranslateText( string Text, string tragetlan, string sourceLang)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |