nabbl / node-red-contrib-google-home-notify

Node-Red Node to send Text messages for Google Home to read from
MIT License
17 stars 10 forks source link

Let us set the accent. #18

Open kvn1351 opened 6 years ago

kvn1351 commented 6 years ago

Let us set the desired accent - as seen here:

https://github.com/nabbl/google-home-notifier/blob/master/README.md#usage

Thanks

stealthcopter commented 6 years ago

Had a quick look at the code, and all that's needed is to modify languages.js with the additional accents you want. For example: British English:

  'nl': 'Dutch',
  'en': 'English',
  'en-GB': 'English (British)',

Full list of languages available here: https://cloud.google.com/speech/docs/languages