[SHR] I18N

Vinzenz Hersche hersche at puzzle.ch
Sun May 10 15:04:53 CEST 2009


root at om-gta02 ~ $ cat /etc/profile.d/lang.sh
sourced=0
root at om-gta02 ~ $

end of /etc/profile:

alias pico=nano
alias fso='cd /local/pkg/fso'
alias ipkg='opkg'
export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w $\[\033[00m\] "
export DISPLAY=localhost:0
export HISTFILESIZE=1000
export HISTSIZE=1000
export LANG=de_DE.UTF-8
alias rm='rm -i'; alias cp='cp -i'; alias mv='mv -i'
alias la='ls  -ltrA'; alias lh='ls  -ltrh'; alias lr='ls  -ltr';
alias lR='ls  -ltrR'
sourced=0
/etc/profile.d/lang.sh

don't know why, but nothing of them doesn't work.. the settings are in 
english, illume is in english and all the applications are also in english.. 
what's my fault?

On Samstag, 9. Mai 2009 14.59:05 Rask Ingemann Lambertsen wrote:
> 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.





More information about the community mailing list