Issue 42065 - AutoCorrection should follow paragraph languages
Summary: AutoCorrection should follow paragraph languages
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 680m77
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
: 43878 45869 (view as issue list)
Depends on:
Reported: 2005-02-04 15:10 UTC by eric.savary
Modified: 2017-05-20 10:48 UTC (History)
4 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---

Specification for a dependency paragraph language - AutoCorrection (14.15 KB, application/vnd.sun.xml.writer)
2008-06-14 13:24 UTC, eric.savary
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description eric.savary 2005-02-04 15:10:28 UTC
Provided: System locale is A. OOo UI language is B
- under Tools - Options - Languages, Document language is B
-> But under Tools - AutoCorrect..., language is A
Language of AutoCorrect should be the one of the Document (B)
Comment 1 eric.savary 2005-02-04 15:11:16 UTC
ft as CC
Comment 2 Oliver Specht 2005-02-07 05:46:00 UTC
Is there any spec around this? I'd say the document language should be A.
In non-multi-language versions we had the system locale as default document
language IIRC. Anything else doesn't make much sense to me.
Comment 3 falko.tesch 2005-02-09 16:40:14 UTC
FT: No, there is no specification available for this since this is a quite old
FT->ES: I hate to ping it back to you, but currently I'm really busy. Can you
please set up a short specification on the exact behaviour here? Please put me
on your iTeam and let me co-edit the spec (if you want). Thx. 
Comment 4 eric.savary 2005-02-09 17:00:33 UTC
I'll do it.Let's talk about roadmap/risk/cost tommorrow.
I reset for now to ENHANCEMENT + OOo later.
Comment 5 eric.savary 2005-02-21 17:00:03 UTC
ES->FT: Wrote a spec for this and sent it to you. Your turn to monitor the issue ;)
Comment 6 falko.tesch 2005-10-20 20:33:03 UTC
FT: Re-assigned to you since I'm leaving and cannot take over. Please find
yourself someone else
Comment 7 Mathias_Bauer 2007-01-18 14:40:04 UTC
*** Issue 43878 has been marked as a duplicate of this issue. ***
Comment 8 Mathias_Bauer 2007-01-18 14:42:18 UTC
I don't think that always using the document language is perfect.
Autocorrect should behave like the spellchecker. So if a paragraph has a
different language it should react accordingly. It has to be checked though if
this is feasible or if we run into problems having several different
autocorrections in one document.
Comment 9 Mathias_Bauer 2007-01-18 14:46:30 UTC
*** Issue 45869 has been marked as a duplicate of this issue. ***
Comment 10 eric.savary 2008-06-14 13:24:59 UTC
Created attachment 54476 [details]
Specification for a dependency paragraph language - AutoCorrection
Comment 11 eric.savary 2008-06-14 13:29:16 UTC
Added old spec (yes, I know, old format, old template!)
Removing FT from CC.

@MBA: reassigning to you in order to maybe build an "Automn of Code - I-Team". ;)
Setting a "postpoundable" target 3.1.
Comment 12 eric.savary 2010-01-17 15:27:17 UTC
Update: I will address this enhancement in following spec:
and merge/update the statements of a spec attached to the current issue to the
spec mentioned above.

Thus the attached spec will be obsolete...

Current OOo behavior and final goal:
1. The language recognition of the AutoCorect Options is buggy
2. It is still (of course! this is the goal of the current issue!) context

1. The current behavior makes the language of the AutoCorect Options dialog
directly dependent of the "Tools - Options - Language Settings - Languages -
Locale setting" (a) but in a buggy way (b).

a) An exemple considering the settings under "Tools - Options - Language
Settings - Languages":
- "User interface language": set to language "A"
- "Local setting": set to language "B"
- "Default language for documents":  set to language "C"
-> the AutoCorrect Options language will be "B" (same as "Local setting")

b) Now change "Tools - Options - Language Settings - Languages - Local setting"
to language "D"
-> the AutoCorrect Options language remains "B" (the former "Local setting" value)

Now, restart OOo:
-> the AutoCorrect Options language is now set to "D".

This is a bug considering that other functions (numbering, currency...) ruled by
"Local setting" change at runtime, without having to restart OOo.

Anyway, while implementing the current enhancement (2.), this problem should
vanish because the AutoCorrect Options will get their settings from:
- "Default language for documents"
- The language set at the cursor position.
Comment 13 Marcus 2017-05-20 10:48:11 UTC
Reset assigne to the default "".