{"id":4664,"date":"2022-12-20T18:36:45","date_gmt":"2022-12-20T21:36:45","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/locale-conf-man5\/"},"modified":"2022-12-20T18:36:45","modified_gmt":"2022-12-20T21:36:45","slug":"locale-conf-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/locale-conf-man5\/","title":{"rendered":"LOCALE.CONF (man5)"},"content":{"rendered":"<h1 align=\"center\">LOCALE.CONF<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#EXAMPLE\">EXAMPLE<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">locale.conf \u2212 Configuration file for locale settings<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/locale.conf<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The \/etc\/locale.conf file configures system\u2212wide locale settings. It is read at early boot by <b>systemd<\/b>(1).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The basic file format of locale.conf is a newline\u2212separated list of environment\u2212like shell\u2212compatible variable assignments. It is possible to source the configuration from shell scripts, however, beyond mere variable assignments, no shell features are supported, allowing applications to read the file without implementing a shell compatible execution engine.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Note that the kernel command line options <i>locale.LANG=<\/i>, <i>locale.LANGUAGE=<\/i>, <i>locale.LC_CTYPE=<\/i>, <i>locale.LC_NUMERIC=<\/i>, <i>locale.LC_TIME=<\/i>, <i>locale.LC_COLLATE=<\/i>, <i>locale.LC_MONETARY=<\/i>, <i>locale.LC_MESSAGES=<\/i>, <i>locale.LC_PAPER=<\/i>, <i>locale.LC_NAME=<\/i>, <i>locale.LC_ADDRESS=<\/i>, <i>locale.LC_TELEPHONE=<\/i>, <i>locale.LC_MEASUREMENT=<\/i>, <i>locale.LC_IDENTIFICATION=<\/i> may be used to override the locale settings at boot.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The locale settings configured in \/etc\/locale.conf are system\u2212wide and are inherited by every service or user, unless overridden or unset by individual programs or individual users.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Depending on the operating system, other configuration files might be checked for locale configuration as well, however only as fallback.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/locale.conf is usually created and updated using <b>systemd-localed.service<\/b>(8). <b>localectl<\/b>(1) may be used to alter the settings in this file during runtime from the command line. Use <b>systemd-firstboot<\/b>(1) to initialize them on mounted (but not booted) system images.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following locale settings may be set using \/etc\/locale.conf: <i>LANG=<\/i>, <i>LANGUAGE=<\/i>, <i>LC_CTYPE=<\/i>, <i>LC_NUMERIC=<\/i>, <i>LC_TIME=<\/i>, <i>LC_COLLATE=<\/i>, <i>LC_MONETARY=<\/i>, <i>LC_MESSAGES=<\/i>, <i>LC_PAPER=<\/i>, <i>LC_NAME=<\/i>, <i>LC_ADDRESS=<\/i>, <i>LC_TELEPHONE=<\/i>, <i>LC_MEASUREMENT=<\/i>, <i>LC_IDENTIFICATION=<\/i>. Note that <i>LC_ALL<\/i> may not be configured in this file. For details about the meaning and semantics of these settings, refer to <b>locale<\/b>(7).<\/p>\n<h2>EXAMPLE <a name=\"EXAMPLE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Example\u00a01.\u00a0German locale with English messages<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/locale.conf:<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">LANG=de_DE.UTF\u22128 <br \/> LC_MESSAGES=en_US.UTF\u22128<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>systemd<\/b>(1), <b>locale<\/b>(7), <b>localectl<\/b>(1), <b>systemd-localed.service<\/b>(8), <b>systemd-firstboot<\/b>(1)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  locale.conf \u2212 Configuration file for locale settings <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,1049,1291],"class_list":["post-4664","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-locale","tag-man5"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4664"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4664\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}