react-native-translator
react-native-translator copied to clipboard
π Unlimited free google translate component & hook (Unofficial)
- Fix React is not defined issue - Fix Enter the URL issue - Update Imports - Update react-native-webview package
- Getting this error Versions ( "react-native-webview": "^13.8.7". react-native-translator:"^1.2.0", "react-native": "0.69.0") @KoreanThinker @doublelam 
[EU cache policy](https://github.com/KoreanThinker/react-native-translator/blob/main/src/translators/google/index.ts) need query string mornitoring like #35
Hello, I am trying to use the exact example code as below, but I am getting the error of: TypeError: Cannot read properties of undefined (reading 'google') ``` This error...
If you need any more translators, please leave a comment! - [x] [papago](https://papago.naver.com/) - [x] [kakao](https://translate.kakao.com/) - [ ] [deepl](https://www.deepl.com/translator) - [ ] [babla](https://bab.la/)
- We need a way to put auto in from prop - It is not necessary to support all TranslatorTypes. I think it may be supported by specific types.
code : const onTranslate = async () => { try { const _result = await translate('en', 'es', value, { type: 'google', timeout: 10000, }); setResult(_result); console.log(_result); } catch (error) {...
μλ νμΈμ. νκ΅λΆ κ°μμ νκ΅λ§λ‘ λ¬Έμλ립λλ€. μ 곡λ Translator μ»΄ν¬λνΈλ μ λλ‘ μλνμ§λ§, ν μ μλμ νμ§ μμ΅λλ€. μ 곡λ ν μ€νΈ μ½λλ₯Ό λκ°μ΄ ꡬλν΄λ³΄μμ΅λλ€. await translate("en", "fr", value) νΈμΆ μ μλμ κ°μ promise μ€λ₯κ° λ°μν©λλ€....
```ts useEffect(() => { async function translateF() { const _result = await translate('vi', 'en', 'gΓ ', { type: 'google', timeout: 5000, }); console.log('lllllllllllllll', _result); } translateF(); }, [translate]); ``` I write...