.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "CDIST-TYPE__LOCALEDEF" "7" "Sep 26, 2023" "7.0.0" "cdist" .SH NAME .sp cdist\-type__localedef \- Define and remove system locales .SH DESCRIPTION .sp This cdist type allows you to define locales on the system using \fBlocaledef\fP(1) or remove them. On systems that don\(aqt support definition of new locales, the type will raise an error. .sp \fBNB:\fP This type respects the glibc \fBlocale.alias\fP file, i.e. it defines alias locales or deletes aliases of a locale when it is removed. It is not possible, however, to use alias names to define locales or only remove certain aliases of a locale. .SH OPTIONAL PARAMETERS .INDENT 0.0 .TP .B state \fBpresent\fP or \fBabsent\fP\&. Defaults to \fBpresent\fP\&. .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .EX # 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 .EE .UNINDENT .UNINDENT .SH SEE ALSO .sp \fBlocale\fP(1), \fBlocaledef\fP(1), \fBcdist\-type__locale_system\fP(7) .SH AUTHORS .nf Dennis Camera <\fI\%dennis.camera\-\-@\-\-ssrq\-sds\-fds.ch\fP> Nico Schottelius <\fI\%nico\-cdist\-\-@\-\-schottelius.org\fP> .fi .sp .SH COPYING .sp 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+). .SH COPYRIGHT ungleich GmbH 2021 .\" Generated by docutils manpage writer. .