Closed voidpls closed 3 years ago
@voidpls Hi! Use 'ma'
translate('Hello World', {from: 'en', to: 'ma'});
https://github.com/matheuss/google-translate-api/blob/master/languages.js#L84
I have noticed the same issue. It works replacing with "pa" in langauges file
I have PRed this fix into a maintained fork of this repo (vitalets/google-translate-api).
This has been fixed as of v2.8.0 in https://github.com/vitalets/google-translate-api.
When attempting to translate to Punjabi, there's no error, yet it returns the English text inputted.
Using Punjabi's ISO code (pa), on the other hand, returns an error.