Manual requests in the browser return normal response and in both cases the response contains english and russian, so if it works 1 time, it should the second time as well… Manual request to api returns ],"ru"]īellow is a function that gets string to translate and the from and to language in ISO2 english to russian (works (in the browser) even though i see ? instead of russian letters) Here’s a log from when i run my code with 2 attempts to translate: When i manually make a request to the api, the result downloads a txt file with correct response, i see the english and the russian strings My code works from english to other languages (like russian)īut not the other way around. I’m trying to use google’s free translate api… to translate strings (daaahh)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |