On 09/09/09 21:34, Cor Nouws wrote:
Hi Mike,
Mike Scott wrote (9-9-2009 14:58)
An odd one this, happens on at least two machines using 3.1.0 under XP.
If I create a new file from explorer using, say, R-click on desktop,
then File | New | Opendocument Text, and then double-click the empty
file to open it, the language for the document is 'none'; when I then
go to OOo's Tools|options|language settings|languages, I find the
default language for documents is set to German (which is not
installed) although locale is set correctly to English(UK). If I try
to change that setting from German to English, the setting does not
survive closing and reopening the document, and German reappears.
On the other hand, if I R-click on the quickstart icon (which was
running during the above, btw), and select 'text document', all is
well - the language for the document is English(UK) as it should be,
and indeed Tools|options|language settings|languages is set to
English(UK) as it should be (and changes here are remembered by OOo as
expected).
On one of the machines in question, I deleted the user's private OOo
config area completely, but this made no difference.
Very confusing!! Any ideas please?
Indeed I can confirm what you find and it is a bit confusing: when I
start from the Explorer, I see the same as you:
Tools|options|language settings|languages shows German as
default language for documents.
The language attribute of the paragraph style Default is Empty, by the way.
So my guess for the logic behind this behaviour, that in the context of
the file browser, there is no check for the locale when starting a
document. That probably only uses a registry setting. The quick starter
is not the same as the Windows explorer.
But again on what is shown in Tools|Options ...
If I change the language attribute of the paragraph style Default to
Dutch, Tools|Options ... still shows German in the context of that
particular document.
When I hit Ctrl-N for a new one, Tool|Options ... shows Dutch, as is my
normal setting.
So I do not see any particular problems. Or do I oversee something?
If you are familiar with IssueTracker (See http://qa.openoffice.org )
you may find an issue around this subject ( I would search the component
Framework, if I were you). Or start a new one, though ATM I would not
give it much priority (which is quite irrelevant, since I'm not
responsible for that).
I am not an expert in this area, but at least on Unix, what languages
OOo uses is influenced by environment variables like LANG. That means
that what languages a specific OOo instance uses is influenced by the
environment from where the OOo instance is started. That could explain
why an OOo instance started via desktop File->New behaves differently
from the OOo instance available through the quickstarter (assuming that
when you do desktop File->New there is no OOo quickstarter yet running,
as then the quickstarter OOo instance would serve the File->New request).
Mike, you could either look for an issue or file a new one, or
cross-post this to [email protected], hoping that someone there has
more insight.
-Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]