[Pkg-giraffe-maintainers] Bug#933900: $KOPANO_USERSCRIPT_LOCALE doesn't have impact on store language

Martin Wolf mwolf at adiumentum.com
Sun Aug 4 22:41:14 BST 2019


Package: kopano-server
Version: 8.7.0-3

It seems like $KOPANO_USERSCRIPT_LOCALE doesn't have any impact on the
store language anymore: Setting

> KOPANO_USERSCRIPT_LOCALE="de_DE.UTF-8"

in /etc/default/kopano should lead to German folder names in newly
created users (with fresh stores). However it doesn't, even when the
locale de_DE.UTF-8 is available.

When looking to /usr/lib/kopano/userscripts/createuser.d/00createstore
the parameter for passing the locale during store creation is missing,
likely an upstream issue:

https://stash.kopano.io/projects/KC/repos/kopanocore/commits/e3ca620ca41a955668654f8d0e71532650bbfcef#installer/userscripts/createuser.d/00createstore

Restoring the old behaviour by using

> exec kopano-storeadm -Cn "$KOPANO_USER" -l "${KOPANO_USERSCRIPT_LOCALE}"

instead still does not work, because $KOPANO_USERSCRIPT_LOCALE doesn't
seem to be passed through to the userscript. Replacing
$KOPANO_USERSCRIPT_LOCALE by a hardcoded "de_DE.UTF-8" (directly in the
userscript) leads to the desired result.

Linux 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u1 (2019-07-19) x86_64
GNU/Linux



More information about the Pkg-giraffe-maintainers mailing list