Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

language option seems not to be working #10

Open
anadiedrichs opened this issue Jan 22, 2018 · 0 comments
Open

language option seems not to be working #10

anadiedrichs opened this issue Jan 22, 2018 · 0 comments

Comments

@anadiedrichs
Copy link

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

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant