Ok, so now that we have a locale other than English-US, what's next? Let's start with a very simple one, the date program.
LC_ALL=C date
Sun Oct 28 15:41:38 EET 2012
id_ID.utf8
to the locale that you have enabled previously).LC_ALL=id_ID.utf8 date
Min Okt 28 15:41:45 EET 2012
In this action, we configured the settings manually by using the LC_ALL
environment variable. By setting the LC_ALL
variable to any locale identifier, the POSIX system would immediately use the specified locale to transform the output of the application. As mentioned earlier, the system has many parameters that we can set. The LC_ALL
variable is the magic parameter that sets all of the parameters with a single value.
Actually, the output of the date program is purely date and time data. So, the parameter affected is LC_TIME
.