CDIST-TYPE__LOCALE_SYSTEM(7)
π CDIST-TYPE__LOCALE_SYSTEM π
okay bestie, welcome to cdist-type__locale_system, part of the cdist manual, section 7. yes this is the one that handles your system-wide locale. let's get into it π¦
β¨ NAME β¨
cdist-type__locale_system β sets the system-wide locale π
πΈ DESCRIPTION πΈ
so this cdist type lets you mess with the system-wide locale. the name of the locale category is literally the object id β so like, whatever you name the object is the category. and yeah, usually you're probably gonna want LANG, that's the vibe. π
π OPTIONAL PARAMETERS π
stateβ eitherpresentorabsent, and it defaults topresent. if it'spresent, it sets the locale category to the value you gave it. if it'sabsent, it removes the locale category from the system file. gone. bye. π«Άvalueβ the value for the locale category. defaults toen_US.UTF-8. slay. β¨
π EXAMPLES π
lowkey these are the moments:
# Set LANG to en_US.UTF-8
__locale_system LANG
# Same as above, but more explicit
__locale_system LANG --value en_US.UTF-8
# Set category LC_MESSAGES to de_CH.UTF-8
__locale_system LC_MESSAGES --value de_CH.UTF-8
# Remove setting for LC_ALL
__locale_system LC_ALL --state absent
no cap, the first one and the second one do the exact same thing. the second one is just doing main character energy with extra words. π
π¦ SEE ALSO π¦
iykyk π
π AUTHORS π
- Steven Armstrong <steven-cdist--@--armstrong.cc>
- Carlos Ortigoza <carlos.ortigoza--@--ungleich.ch>
- Nico Schottelius <nico.schottelius--@--ungleich.ch>
absolute icons, all three of them π
π COPYING π
Copyright (C) 2016 Nico Schottelius. Free use of this software is granted under the terms of the GNU General Public License version 3 or later (GPLv3+).
fr fr, that's the license. GPLv3 or later. respect it. π«Ά
β COPYRIGHT β
ungleich GmbH 2021
and that's the whole page, bestie π this was CDIST-TYPE__LOCALE_SYSTEM(7) from version 7.0.0, dated Jul 31, 2022, brought to you by ungleich GmbH 2021. go set your locale and eat πβ¨
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms