Bug#384774: Request: system-wide locale setting for OpenOffice.org
Package: openoffice
Severity: wishlist
It would be nice to allow the system manager to specify which
locale to use for OpenOffice.org without having to do a LANG=
which would affect all other applications. Preferably, this setting
should also survive a package update.
The choice of LANG= is relevant for e.g. keyboard recognition.
Case in point: with $COUNTRY and $LANG unset, ooffice (vis. writer)
doesn't recognize the keyboard setting (doesn't check X?). However,
invoking ooffice with "LANG=pt_PT ooffice" allows the usage with the
specified keyboard locale.
IMHO, it would make sense to include some directive in a configuration
file in /etc/openoffice to allow the choice of locale for ooffice, e.g.
in /etc/openoffice/sofficerc. If in a Perl script, the following seems
to do the job:
$ENV{SAL_USE_VCLPLUGIN} = "pt_PT";
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (200, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.11-kanotix-2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Reply to: