[SHR] I18N

Rask Ingemann Lambertsen rask at sygehus.dk
Sat May 9 14:59:05 CEST 2009


On Sat, May 09, 2009 at 02:43:00AM +0400, ivvmm wrote:
> Like in every normal GNU/Linux distribution create an executable sh
> script in /etc/profile.d/ (better to name it lang.sh) where put lines
> 
> #!/bin/sh

   No:

$ head -n 3 /etc/profile.d/lang.sh 
# /etc/profile.d/lang.sh - set i18n stuff

sourced=0

> export LANG=de_DE.UTF-8
> 
> do not forget to make it executable.

   No:

$ ls -l /etc/profile.d/lang.sh 
-rw-r--r-- 1 root root 2693 11 nov 17:59 /etc/profile.d/lang.sh

> /etc/profile is responsible for launching that script.

   No, it includes the script. Otherwise, something like lang.sh wouldn't
work.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year




More information about the community mailing list