source: calamares/trunk/fuentes/src/modules/locale/locale.conf @ 7538

Last change on this file since 7538 was 7538, checked in by kbut, 17 months ago

sync with github

File size: 3.6 KB
Line 
1---
2# This settings are used to set your default system time zone.
3# Time zones are usually located under /usr/share/zoneinfo and
4# provided by the 'tzdata' package of your Distribution.
5#
6# Distributions using systemd can list available
7# time zones by using the timedatectl command.
8#    timedatectl list-timezones
9#
10# The starting timezone (e.g. the pin-on-the-map) when entering
11# the locale page can be set through keys *region* and *zone*.
12# If either is not set, defaults to America/New_York.
13#
14region:                     "America"
15zone:                       "New_York"
16
17
18# System locales are detected in the following order:
19#
20#  - /usr/share/i18n/SUPPORTED
21#  - localeGenPath (defaults to /etc/locale.gen if not set)
22#  - 'locale -a' output
23#
24# Enable only when your Distribution is using an
25# custom path for locale.gen
26#localeGenPath:             "PATH_TO/locale.gen"
27
28# GeoIP based Language settings:
29#
30# GeoIP need an working Internet connection.
31# This can be managed from `welcome.conf` by adding
32# internet to the list of required conditions.
33#
34# Leave commented out to disable GeoIP.
35#
36# An HTTP request is made to *geoipUrl* -- depending on the geoipStyle,
37# the URL may be modified before use. The request should return
38# valid data in a suitable format, depending on geoipStyle;
39# generally this includes a string value with the timezone
40# in <region>/<zone> format. For services that return data which
41# does not follow the conventions of "suitable data" described
42# below, *geoIPSelector* may be used to pick different data.
43#
44# Note that this example URL works, but the service is shutting
45# down in June 2018.
46#
47# Suitable JSON data looks like
48# ```
49#    {"time_zone":"America/New_York"}
50# ```
51# Suitable XML data looks like
52# ```
53#    <Response><TimeZone>Europe/Brussels</TimeZone></Response>
54# ```
55#
56# To accomodate providers of GeoIP timezone data with peculiar timezone
57# naming conventions, the following cleanups are performed automatically:
58#  - backslashes are removed
59#  - spaces are replaced with _
60#
61#geoipUrl:                  "freegeoip.net"
62
63# GeoIP style. Leave commented out for the "legacy" interpretation.
64# This setting only makes sense if geoipUrl is set, enabliing geoIP.
65#
66# Possible values are:
67#   unset       same as "legacy"
68#   blank       same as "legacy"
69#   "legacy"    appends "/json" to geoipUrl, above, and uses JSON format
70#               (which is what freegeoip.net provides there).
71#   "json"      URL is not modified, uses JSON format.
72#   "xml"       URL is not modified, uses XML format.
73#
74# The JSON format is provided by freegeoip.net, but that service is
75# shutting down in June 2018. There are other providers with the same
76# format. XML format is provided for Ubiquity.
77#geoipStyle:    "legacy"
78
79# GeoIP selector. Leave commented out for the default selector
80# (which depends on the style: JSON uses "time_zone" and XML
81# uses TimeZone, for the FreeGeoIP-alike and the Ubiquity-alike
82# respectively). If the service configured via *geoipUrl* uses
83# a different attribute name (e.g. "timezone") in JSON or a
84# different element tag (e.g. "<Time_Zone>") in XML, set this
85# string to the name or tag to be used.
86#
87# In JSON:
88#  - if the string contains "." characters, this is used as a
89#    multi-level selector, e.g. "a.b" will select the timezone
90#    from data "{a: {b: "Europe/Amsterdam" } }".
91#  - each part of the string split by "." characters is used as
92#    a key into the JSON data.
93# In XML:
94#  - all elements with the named tag (e.g. all TimeZone) elements
95#    from the document are checked; the first one with non-empty
96#    text value is used.
97#geoipSelector: ""
Note: See TracBrowser for help on using the repository browser.