[Users] silly question (solved)
Michael
codejodler at gmx.ch
Wed Jan 27 23:13:59 CET 2016
thx Ralf.
Here is the analysis, go figure...
Both /usr/share/locale/de/LC_MESSAGES/ and /usr/share/locale/de_DE/LC_MESSAGES/ are plain empty.
Listing the installed packages by 'dpkg -L claws-mail-i18n' shows German should be there, as
/usr/share/locale/de/LC_MESSAGES/claws-mail.mo
and a locale-gen run does not complain either:
/ r: locale-gen
Generating locales (this might take a while)...
de_DE.ISO-8859-15 at euro... done
de_DE.ISO-8859-1... done
de_DE.UTF-8... done
Generation complete.
and then i remembered, i'm using the 'localepurge' package installer hook, which purges unnecessary locales. But the config file
/etc/locale.nopurge contains:
de_DE at euro
de_DE.UTF-8
de_DE
and i was always expecting it to work. (Though i could not notice bugs because i'm running anything in EN anyway.)
But when i deinstalled localepurge and reinstalled claws-mail-i18n i suddenly got back the file
/usr/share/locale/de/LC_MESSAGES/claws-mail.mo
but running 'LANG=de_DE claws-mail' still did not show a German UI.
I had to make it 'LANGUAGE=de_DE claws-mail' and this is the single only combination that works !
Trying to find out why localepurge deletes the claws .mo file, i exchanged its config file by exactly the content of /etc/locale.gen
de_DE at euro ISO-8859-15
de_DE ISO-8859-1
de_DE.UTF-8 UTF-8
but that didn't make any difference, it still deletes the claws .mo file.
It turns out that localepurge leaves claws-mail.mo alone only if i configre a simple "de" as locale in /etc/locale.nopurge.
I've got no idea how to interpret this, but anyway, my question got answered and the problem is solved :)
thx for your advice.
More information about the Users
mailing list