Issue 53593 - Implement an "Asian Language Auto detection" for Language coversion
Summary: Implement an "Asian Language Auto detection" for Language coversion
Status: CONFIRMED
Alias: None
Product: lingucomponent
Classification: Code
Component: other (show other issues)
Version: 680m122
Hardware: PC Windows 2000
: P4 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2005-08-22 06:44 UTC by redoffice
Modified: 2013-02-07 21:54 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
example where it won't work (6.84 KB, application/vnd.oasis.opendocument.text)
2006-04-06 14:24 UTC, caolanm
no flags Details
example where it will work (6.90 KB, application/vnd.oasis.opendocument.text)
2006-04-06 14:24 UTC, caolanm
no flags Details
differences in view (and functionality) between 2.0.2 and 2.1 (125.31 KB, application/vnd.oasis.opendocument.graphics)
2007-01-19 12:45 UTC, Rainer Bielefeld
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description redoffice 2005-08-22 06:44:57 UTC
Reproduce Steps:1. Choose Tools --> Language --> Hangul/Hanja conversion
Expected Result:Language conversion should be successful
Actual Result:Language coversion is failed.
Comment 1 michael.ruess 2005-08-22 08:31:35 UTC
Reassigned to SBA.
Comment 2 caolanm 2006-04-06 14:24:26 UTC
Created attachment 35536 [details]
example where it won't work
Comment 3 caolanm 2006-04-06 14:24:59 UTC
Created attachment 35537 [details]
example where it will work
Comment 4 caolanm 2006-04-06 14:27:40 UTC
I suspect that this problems describes the problem in the first attachment. If
the hangul text is not actually set to language Korean, then it's not detected
as Hangul when an attempt to trigger the conversion dialog is made.

If Korean is set on some text, then it'll appear. Don't know if this is a bug, a
feature or an unavoidable situation. But hopefully relevent information.
Comment 5 Rainer Bielefeld 2007-01-19 07:16:24 UTC
I can't find "Hangul/Hanja conversion" in the dialogues of my "2.0.2  German
version WIN XP: [680m5(Build9011)]". 

What steps will be required to reproduce that problem starting with a normal
englisch language OOo build?
Comment 6 caolanm 2007-01-19 09:45:20 UTC
Use: tools->options->language settings->languages->enable asian languages and
then the menu mentioned at the top of this issue becomes available in a
non-asian locale
Comment 7 Rainer Bielefeld 2007-01-19 12:38:56 UTC
I checked with "2.0.2  German version WIN XP: [680m5(Build9011)]" and found out

1. open 'hanguldemo-koreanlangset.odt'
2. Menu "Tools - Options - Language Settings - Languages"
   Check "Support of Asian languages" <ok>
3. Back to document, Mouseclick to place caret between first 2 cahracters 
4. press <cntrl>+<shift>+<F7>
   dialogue to convert Hangul/Hanja will appear

11.  Now open 'hanguldemo-nolangset.odt'
12. Menu "Tools - Options - Language Settings - Languages" and see that 
   "Support of Asian languages" still is checked 
13. Back to document, Mouseclick to place caret between first 2 cahracters 
14. press <cntrl>+<shift>+<F7>
   dialogue to convert Hangul/Hanja will NOT appear
   You can heal this malfunction with "Tools - Options - Language Settings 
   - Languages" setting 'Standard Language of documents "Asian"' to "Korean"

I transferred the korean text to a CALC cell with the same result after
<cntrl>+<shift>+<F7>. The reason for all that is that in
'hanguldemo-koreanlangset.odt' the language is set to "Korean" (in menu 
'Format - Charakters - Fontset for Asian language / Language'), in
'hanguldemo-nolangset.odt' "none" is selected as language.

I also checked with "2.1.0  German version WIN XP: [680m6(Build9095)]" (on an
other PC) and found very similar behaviour, but here the word itself and
proposals for replacement are visible (pls see attached screenshots)! 

Currently I see this as a 'lingucomponent'-issue (or, may be, 'l10n?).

@cmc:
can you please contribute a brief explication why it should be expected that the
dialogue should appear although no Asian language is selected in character format? 
Any idea why the panes in the dialogue remain empty in 2.0.2 (screenshots!)?
Comment 8 Rainer Bielefeld 2007-01-19 12:39:35 UTC
Lingucomponent
Comment 9 Rainer Bielefeld 2007-01-19 12:45:25 UTC
Created attachment 42311 [details]
differences in view (and functionality) between 2.0.2 and 2.1
Comment 10 caolanm 2007-01-19 12:50:09 UTC
"Don't know if this is a bug, a feature or an unavoidable situation." but I had
some CJK users who found this unexpected behavior, and it would seem
theoretically possible at least to detect that that text in question is in the
CJK range and appear in that case rather than from the language attribute. 

I don't know if this is reasonable or not to restrict the feature to korean
language text and not korean language code points, I'm not a domain expert here,
but my korean co-workers were somewhat baffled...

as for 2.0.2 vs 2.1.0, seeing as 2.1.0 works (once the language is set) I
wouldn't worry about the 2.0.2 results :-)
Comment 11 Rainer Bielefeld 2007-01-19 13:23:36 UTC
Currently I see this only P5, because it seems to be big plight for only little
benefit of comfort. May be the implementation of a warning box, that appears
after <cntrl>+<shift>+<F7> if no Asian language is selected, can be a compromise?

May be it could also be helpful to have a hint in HELP that currently that all
only can work if a correct language is selected for the document contents.

@lingucomponent: 
any comments before we reassign to '@requirements'
Comment 12 stefan.baltzer 2007-02-01 18:02:07 UTC
SBA: Confirming issue. I think P4 is appropriate, but enhancements and features
follow different rules than defects anyway :-)
SBA->TL: Please comment on a possible "fix along the way" once "language
guessing" (for western languages) sees the light.
Apart from that I believe that "language guessing" for script types that use a
unique Unicode area is far from rocket science.
Comment 13 thomas.lange 2007-08-08 07:43:42 UTC
TL->FL: I think this problem would be equally solved by your idea for further
improved use of language guessing: That is the language should be determined and
automatically applied while typing the text.