CDIST-TYPE__LOCALEDEF(7)
β¨ cdist-type__localedef β¨
ok so bestie, this is a cdist type β section 7 of the manual, cdist-type__localedef β and it's literally here to handle your system locales for you. π
πΈ NAME πΈ
cdist-type__localedef β define and remove system locales π¦
π DESCRIPTION π
This cdist type lets you define locales on your system using localedef(1), or remove them. That's it, that's the gig. π
but heads up: on systems that don't support defining new locales, this type will raise an error. so like, if your system can't do the thing, it's not gonna pretend it can, it's gonna yell at you. π
NB: this type respects the glibc locale.alias file β i.e. it defines alias locales, or deletes aliases of a locale when that locale gets removed. it's giving considerate. π«Ά
However β and this is the part where you go "oh π³" β it is not possible to:
- use alias names to define locales, or
- only remove certain aliases of a locale.
so close, yet so far. π
β¨ OPTIONAL PARAMETERS β¨
stateβpresentorabsent. Defaults topresent. that's the whole list, she's a simple queen. π
π EXAMPLES π
# Add locale de_CH.UTF-8
__localedef de_CH.UTF-8
# Same as above, but more explicit
__localedef de_CH.UTF-8 --state present
# Remove colourful British English
__localedef en_GB.UTF-8 --state absent
ok but "remove colourful British English" is sending me ππ¬π§
π SEE ALSO π
locale(1), localedef(1), cdist-type__locale_system(7)
go read those, they're the supporting cast. π
π AUTHORS π
- Dennis Camera
<dennis.camera--@--ssrq-sds-fds.ch> - Nico Schottelius
<nico-cdist--@--schottelius.org>
(yes the --@-- is really in there, it's not a typo, don't @ me π)
π COPYING π
Copyright (C) 2013-2019 Nico Schottelius, 2020 Dennis Camera. Free use of this software is granted under the terms of the GNU General Public License version 3 or later (GPLv3+).
π COPYRIGHT π
ungleich GmbH 2021
and that's the whole page bestie!! this was cdist version 7.0.0, dated Jul 31, 2022, and it's the CDIST-TYPE__LOCALEDEF(7) page. slay, go forth and localedef responsibly. πβ¨π¦
π¦ 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