From 06b9fbe2983bb893b2c8f77dad105fea66816d4c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 4 Sep 2019 18:09:59 -0500 Subject: script: Describe 'language' --- devel/script/2_keys.xml | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) (limited to 'devel') diff --git a/devel/script/2_keys.xml b/devel/script/2_keys.xml index f337454..6b0e5e0 100644 --- a/devel/script/2_keys.xml +++ b/devel/script/2_keys.xml @@ -8,7 +8,7 @@
Required Keys - Each key in this section is required to be present in a HorizonScript. If any key from this section is missing, the HorizonScript will be considered invalid and Horizon Runner will not execute it. + Each key specified in this section is required to be present in a HorizonScript. If any key from this section is missing, the HorizonScript will be considered invalid and Horizon Runner will not execute it.
<literal>network</literal> @@ -71,4 +71,46 @@ hostname gwyn.foxkit.internal
+
+ Optional Keys + Each key specified in this section may be present in a HorizonScript. This section additionally defines the default value or action taken if the specified key is not present. +
+ <literal>language</literal> + + Name + language + + + Purpose + The language key determines the default natural language for the target computer. The value of this key will be used to configure the LANG and LC_ALL environment variables, in addition to installing language packs for certain software. + + + Format + The language key is a string value that specifies a valid locale code. A locale code must match one of the following formats: xx, or xx_YY, or xx_YY.UTF-8, where xx is a valid ISO 639-1 language code, and YY is a valid ISO 3166-1 country code. + + + Default + If the language key is not present, no setting will be defined for the LANG or LC_ALL environment variables. Most software treats this as either "C.UTF-8" or "en_US.UTF-8". No language packs will be installed for software that supports multiple language; due to English being the de facto language of software engineering, this implies all software will run in English. + + + Examples + + + The <literal>language</literal> Key — Simple Language + +language cy + + This sets the language of the target computer to Welsh. + + + The <literal>language</literal> Key — Language with Country Localisation + +language fr_CA + + This sets the language of the target computer to Canadian French. + + + +
+
-- cgit v1.2.3-70-g09d2