darksky icon indicating copy to clipboard operation
darksky copied to clipboard

language option seems not to be working

Open anadiedrichs opened this issue 8 years ago • 0 comments

It seems that the language parameter is not used by the library.

`

tmp <- get_current_forecast(37.8267, -122.423, units="si", language ="de") tmp$daily$summary [1] "Light rain in the morning."
[2] "Partly cloudy throughout the day."
[3] "Breezy in the afternoon and rain starting in the afternoon, continuing until evening." [4] "Partly cloudy throughout the day."
[5] "Mostly cloudy throughout the day."
[6] "Mostly cloudy throughout the day."
[7] "Mostly cloudy in the morning."
[8] "Overcast throughout the day."
tmp <- get_current_forecast(37.8267, -122.423, units="si", language ="es") tmp$daily$summary [1] "Light rain in the morning."
[2] "Partly cloudy throughout the day."
[3] "Breezy in the afternoon and rain starting in the afternoon, continuing until evening." [4] "Partly cloudy throughout the day."
[5] "Mostly cloudy throughout the day."
[6] "Mostly cloudy throughout the day."
[7] "Mostly cloudy in the morning."
[8] "Overcast throughout the day."
`

My session info in R.

`

sessionInfo() R version 3.3.2 (2016-10-31) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 16.04.3 LTS

locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=es_AR.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=es_AR.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=es_AR.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=es_AR.UTF-8 LC_IDENTIFICATION=C

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] darksky_1.3.0

loaded via a namespace (and not attached): [1] httr_1.3.1 colorspace_1.2-4 scales_0.4.0 R6_2.2.2 plyr_1.8.1 tools_3.3.2
[7] gtable_0.1.2 curl_3.0 gridExtra_2.2.1 Rcpp_0.12.13 ggplot2_2.1.0 grid_3.3.2
[13] jsonlite_1.5 munsell_0.4.2

`

anadiedrichs avatar Jan 22 '18 19:01 anadiedrichs