Skip to content

Commit 2402b3f

Browse files
committed
add documentation for lang option
1 parent af3cc68 commit 2402b3f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@ OpenWeather::Current.city("Berlin, DE", options)
6767
How to get an API key and tips for an effective usage of the API:
6868
http://openweathermap.org/appid
6969

70+
#### Multilingual support
71+
72+
```ruby
73+
# get current weather in german
74+
OpenWeather::Current.city("Berlin, DE", lang: "de")
75+
```
76+
77+
Available languages are listed at:
78+
http://openweathermap.org/current#multi
79+
7080

7181
## Contributing
7282

0 commit comments

Comments
 (0)