devfacet/weather

Language

AxelDolislager opened this issue · 2 comments

Is it possible to add and set languages to this?

It has lang support

weather.find({ search: 'Buenos aires', degreeType: 'C', lang: 'ES' }, function(err, result) { ....

The 'lang' parameter translates to culture parameter in Microsoft so I discovered checking code that if you send "ES-MX" will work.

Reference: https://docs.microsoft.com/en-us/bingmaps/rest-services/common-parameters-and-types/supported-culture-codes

But there's actually some that aren't working like "es". The remaining thing is to document it. Will try to fork and collaborate.

Regards.