summaryrefslogtreecommitdiff
path: root/src/modules/welcome/welcome.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/welcome/welcome.conf')
-rw-r--r--src/modules/welcome/welcome.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/modules/welcome/welcome.conf b/src/modules/welcome/welcome.conf
index 52492ffef..fcef45a59 100644
--- a/src/modules/welcome/welcome.conf
+++ b/src/modules/welcome/welcome.conf
@@ -47,3 +47,16 @@ requirements:
# - storage
- ram
# - root
+
+# GeoIP checking
+#
+# This can be used to pre-select a language based on the country
+# the user is currently in. It *assumes* that there's internet
+# connectivity, though. Configuration is like in the locale module,
+# but remember to use a URL that returns full data **and** to
+# use a selector that will pick the country, not the timezone.
+
+geoip:
+ style: "xml"
+ url: "https://geoip.kde.org/v1/ubiquity" # extended XML format
+ selector: "CountryCode" # blank uses default, which is wrong