I would like to change LC_MESSAGES locale var for current session like so:
LC_MESSAGES="fr_FR.utf8"
but it seems to not work:
user@debian:~$ cat w1.txt
cat: w1.txt: Brak dostępu
user@debian:~$ LC_MESSAGES="fr_FR.utf8"
user@debian:~$ cat w1.txt
cat: w1.txt: Brak dostępu # no change!
When i do it "per program":
LC_MESSAGES="fr_FR.utf8" cat w1.txt
it works:
cat: w1.txt: Permission non accordée
Shouldn't change made in the current session (LC_MESSAGES="fr_FR.utf8") be taken into account when running cat command?