Bug#384774: Request: system-wide locale setting for OpenOffice.org

2006-08-26 Thread João Batista

From: Rene Engelhard [EMAIL PROTECTED]
To: Jo??o Batista [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Bug#384774: Request: system-wide locale setting for 
OpenOffice.org

Date: Sat, 26 Aug 2006 19:42:14 +0200

Hi,

Jo??o Batista wrote:
 OK, then how about a /etc/openoffice/openoffice.conf or something 
similar
 which the /usr/bin/openoffice (ooo-wrapper) Perl script would interpret 
at

 startup?

Actually, exactly that was there at the time we had a shell wrapper 
(1.1.x)...

Got removed for 2.x.



Hi,

I looked into the section about locales in 
/usr/share/doc/openoffice.org/README.Debian.gz
The LANG=mylocale *almost* works, e.g. it interferes with gvim menubar 
language if one wants to retain the default language (e.g. English).
However, the following works for me: it retains the menubar's languages but 
still allows openoffice.org to recognize the keyboard locale:


export LC_ALL=C
export LC_CTYPE=ISO-8859-1

Maybe this detail should be included in the 
/usr/share/doc/openoffice.org/README.Debian.gz


AFAIAC, this issue is solved and can be closed.


Best regards,
Joao Batista

_
MSN Messenger: converse com os seus amigos online. 
http://messenger.msn.com.br




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#384774: Request: system-wide locale setting for OpenOffice.org

2006-08-26 Thread Jo�o Batista
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)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#384774: Request: system-wide locale setting for OpenOffice.org

2006-08-26 Thread Rene Engelhard
Hi,

Jo???o Batista wrote:
 Package: openoffice

Next time please use a correct package name...

 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 

No, sofficerc is a completely wrong place for it. You haven't looked at
sofficerc, have you?

 to do the job:
 
   $ENV{SAL_USE_VCLPLUGIN} = pt_PT;

That's broken. That is for using the VCLPLUGIN (gnome, kde, none) not
for the locale...

Regards,

Rene


signature.asc
Description: Digital signature


Bug#384774: Request: system-wide locale setting for OpenOffice.org

2006-08-26 Thread João Batista

Hi,


Rene Engelhard wrote:

Hi,

Jo???o Batista wrote:
 Package: openoffice

Next time please use a correct package name...



Sorry. It's openoffice.org, correct?


 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

No, sofficerc is a completely wrong place for it. You haven't looked at
sofficerc, have you?



I see. It was just a suggestion, nothing more nothing less. I hope no one 
was offended.  :-)





 to do the job:

   $ENV{SAL_USE_VCLPLUGIN} = pt_PT;

That's broken. That is for using the VCLPLUGIN (gnome, kde, none) not
for the locale...




OK, then how about a /etc/openoffice/openoffice.conf or something similar 
which the /usr/bin/openoffice (ooo-wrapper) Perl script would interpret at 
startup?



In case none of these are remotely satisfactory, are there other suggestions 
in place?



Regards,
Joao

_
MSN Busca: fácil, rápido, direto ao ponto.  http://search.msn.com.br



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#384774: Request: system-wide locale setting for OpenOffice.org

2006-08-26 Thread Rene Engelhard
Hi,

Jo??o Batista wrote:
 OK, then how about a /etc/openoffice/openoffice.conf or something similar 
 which the /usr/bin/openoffice (ooo-wrapper) Perl script would interpret at 
 startup?

Actually, exactly that was there at the time we had a shell wrapper
(1.1.x)...
Got removed for 2.x.

Regards,

Rene


signature.asc
Description: Digital signature