.\" Man page generated from reStructuredText. . .TH "CDIST-TYPE__LOCALE_SYSTEM" "7" "Feb 16, 2019" "4.10.6" "cdist" . .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 .. .SH NAME .sp cdist\-type__locale_system \- Set system\-wide locale .SH DESCRIPTION .sp This cdist type allows you to modify system\-wide locale. The name of the locale category is given as the object id (usually you are probably interested in using LANG). .SH OPTIONAL PARAMETERS .INDENT 0.0 .TP .B state present or absent, defaults to present. If present, sets the locale category to the given value. If absent, removes the locale category from the system file. .TP .B value The value for the locale category. Defaults to en_US.UTF\-8. .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C # 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 .ft P .fi .UNINDENT .UNINDENT .SH SEE ALSO .sp \fBlocale\fP(1), \fBlocaledef\fP(1), \fBcdist\-type__locale\fP(7) .SH AUTHORS .nf Steven Armstrong <\fI\%steven\-cdist\-\-@\-\-armstrong.cc\fP> Carlos Ortigoza <\fI\%carlos.ortigoza\-\-@\-\-ungleich.ch\fP> Nico Schottelius <\fI\%nico.schottelius\-\-@\-\-ungleich.ch\fP> .fi .sp .SH COPYING .sp 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+). .\" Generated by docutils manpage writer. .