diff --git a/README.md b/README.md index 9679ac1..3eee0ae 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,10 @@ The preferred language can be forced using the `lang` option: $ curl wttr.in/Berlin?lang=de +The third option is to choose the language using DNS name used in the query: + + $ curl de.wttr.in/Berlin + wttr.in is currently translated in more than 45 languages and the number of supported languages is constantly growing. diff --git a/share/help.txt b/share/help.txt index 040c8c9..4bf8464 100644 --- a/share/help.txt +++ b/share/help.txt @@ -50,6 +50,7 @@ Options can be combined: Localization: + $ curl fr.wttr.in/Paris $ curl wttr.in/paris?lang=fr $ curl -H "Accept-Language: fr" wttr.in/paris