horihiro / esp8266-google-home-notifier

MIT License
103 stars 23 forks source link

language #21

Closed jeanbatfr closed 4 years ago

jeanbatfr commented 4 years ago

Hello, i don't find how to change the language of the phrase? Thank you

horihiro commented 4 years ago

Which language do you want to use? # I tested only en (English) and ja (Japanese).

Can you use the second argument of device method? https://github.com/horihiro/esp8266-google-home-notifier/blob/master/examples/esp8266/SimpleUsage/SimpleUsage.ino#L29

jeanbatfr commented 4 years ago

Hello, ok, I was not sure about the purpose of this argument, so if I use "fr" it will be french?

horihiro commented 4 years ago

maybe yes I haven't tried fr because I cannot understand French.

Please try it.

jeanbatfr commented 4 years ago

Yes, it's working! Amazing project, well done ;)

PS : Maybe you should add a comment to explain the arguments of device, for next users :)