Catalan language ('CA') returns spanish results ('SP')

  • 1
  • Problem
  • Updated 1 year ago
When using the Catalan language ('CA') (which appears as supported in https://www.wunderground.com/weather/api/d/docs?d=language-support) the forecast results are returned in Spanish ('SP') instead.

Is Catalan language supported in the API?

For instance, in a query like: 
http://api.wunderground.com/api/[key]/conditions/forecast/lang:CA/q/Spain/Barcelona.json

Partial result:
{
...
,
"forecast":{
"txt_forecast": {
"date":"7:18 AM CEST",
"forecastday": [
{
"period":0,
"icon":"clear",
"icon_url":"http://icons.wxug.com/i/c/k/clear.gif";,
"title":"Martes",
"fcttext":"Cielo mayormente despejado. Será más cálido. Máxima de 73 F. Vientos del NO que pasarán a ser del SSO de 10 a 15 milla/h.",
"fcttext_metric":"Cielo mayormente despejado. Será más cálido. Máxima de 23 C. Vientos del NO que pasarán a ser del SSO de 15 a 25 km/h.",
"pop":"0"
}
...
}
Photo of Jordi Riera-Baburés

Jordi Riera-Baburés

  • 1 Post
  • 0 Reply Likes

Posted 1 year ago

  • 1

Be the first to post a reply!