We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
below is my gulpfile:
const translate = require('google-translate-api'); gulp.task('check', function(){ var cultureFile = fs.readFileSync('./locale.txt', 'utf8'); translate(cultureFile, {from: 'en', to: 'zh-cn'}).then(res => { fs.writeFileSync('./check.txt',res.text,'utf8'); }).catch(err => { console.error(err); }); });
The text was updated successfully, but these errors were encountered:
Hi, take a look at this repo, https://github.com/vitalets/google-translate-api its update to fix this issue,
Also i have a clone of the above repo and maintain it too, https://github.com/ZyC0R3/google-translate-api
Sorry, something went wrong.
HI @ZyC0R3 ,
Still it doesn't translate my text - refer below gulp task
https://github.com/kumaresan-subramani/gulp-translate/blob/master/gulpfile.js
No branches or pull requests
below is my gulpfile:
The text was updated successfully, but these errors were encountered: