Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Weather App Language Support
I’m building an app with Open Wheater API like this >>
Do u knows if there’s support to another languages ? Like Lang ="PT_BR’
Example : In code below i have metric to set Celcius , the Longitude and Latidude …
url: 'http://api.openweathermap.org/data/2.5/weather?lat=' + -29.3797216 + '&lon=' + -50.9014878 + '&units=metric&appid=****',
I’d like to change the text below : Clouds , Rain …
The problems was other thing
$(’.weather-text’).html(json.weather.main); … returns Clouds in english
$(’.weather-text’).html(json.weather.description); … Description returns the text in the current language. Portuguese!
But during the “process” i have found an error in OpenWheater multilingual support . i’ve sent an email for them!
@Leonardo-Augusto I’m glad you were able to solve it! :)