-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support react-native #42
Comments
And it'll be also good if there is for Angular. |
have you resolve issue Unable to resolve module 'querystring'? |
Hi, I have been trying to convert this library for react-native without using
this is the translator method please have a look you may find something i dont.
|
never mind I found the issue |
What was your solution? |
Well I hade made small mistake, and overwrote property
translatorLanguage.tsx
|
Save in where this file and how to calling the function? |
I was able to implement it with webpack using 'node-stdlib-browser' and 'setimmediate' I imagine it could be fairly easily implemented in a similar way for react. |
Okay, I made an axios port that doesn't require either of those here: https://github.com/AidanWelch/google-translate-api |
I've added React-native support in new beta release v9. |
Currently library works only in Node.js, because it replies on packages like
fs
,configstore
etc. It does not work in React Native out of box but technically it is possible.It would be great to to add build for react native where usage of
fs
andconfigstore
are replaced with RN asyncStorage api.Related issues:
querystring
#38The text was updated successfully, but these errors were encountered: