Interesting, I haven't thought about looking at the code. I also noticed
something interesting that I'll be covering later. First, I'll answer your
questions.

1 - I have an English keyboard, with no numeric keypad.
2 - I switch layouts with the shortcuts LShift+LAlt+[120] (1 being US-Intl,
2 is IME and 0 is ABNT2 (Brazilian Portuguese), which I only use when I
don't have an external keyboard). The problem still occurs if I switch by
clicking the language bar.

Now, thinking on extracting the ODF, I created one from the desktop (right
click -> New -> OpenDocument Text). When I opened it on OpenOffice, it
treated all text as English from the start. However, if I open Writer and
start a new document it presents the behavior I pointed before (starts with
Portuguese and switches to English after I type Japanese text). This might
be a problem specific to Windows (this happened both in windows 7 and 8 for
me).

The system language is set to English, and the locale is usually set to
English (US), and I have installed LO with this locale, but I have tried
changing it to Portuguese (Brazil) and the problem still persisted.

I don't know how the ODF file is packed, but 7Zip (the software) is able to
decompress it. I took a look at the code, but I don't know how to repack
the ODF file, so I'm currently unable to test a repacked file. I have now
attached two ODF files - One of them was created on Windows, then edited
(i.e. is completely treated as English), while the other was created in a
new instance of LO, edited and then saved (partially treated as Portuguese).

In the source code (content.xml) of the later file, the part that contains
the text I typed is transcribed below. I would like to change the
style-name of the third span to T1, but I don't know how to repack it to be
used with LO.

<text:p text:style-name="P1"><text:span text:style-name="T1">Português
> English </text:span><text:span text:style-name="T2">日本語
> </text:span><text:span text:style-name="T3">Português
> English</text:span></text:p>


On Thu, Nov 15, 2012 at 10:18 PM, rost52 <[email protected]> wrote:

> Now I am reaching the end of my knowledge, but I don't give up yet.
>
> Questions:
> 1 - What kind of keyboard are you using? (Portugese, English, or Japanese
> layout)
> 2 - How do you change to IME input (please explain keystrokes or mouse
> clicks)
>
> Additionally, you could try to "unzip" the odt-file and look into the code
> behind to see if there is something which leads to understanding and
> solution. However, I am not the expert to explain the needed procedure.
> Have a look in Ask LibO and search a bit. There was recently an explanation
> on how to "unzip" an odt file.
>
> Maybe someone in this forum could give some explanations on "unzipping"
> and odt-file
>
>
>
> On 2012-11-16 08:59, Minix wrote:
>
>> After the update the problem persisted, as expected.
>>
>> I attached to this e-mail a screenshot that shows the problem in action.
>> The keyboard layouts used are English International and Microsoft IME for
>> Japanese.
>>
>> What I did in that screenshot:
>> * I typed "Português English" with the English International layout
>> * Switched to Japanese IME
>> * Typed "日本語"
>> * Switched back to English International
>> * Typed "Português English".
>>
>> The first two words are treated as Portuguese, the third as Japanese, and
>> the last two as English.
>>
>> I have already tried setting the locale to "Português (Brasil)", but the
>> problem persists. I have also resetted the user profile, as another user
>> suggested, to no avail.
>>
>> On Wed, Nov 7, 2012 at 12:00 AM, Minix <[email protected]> wrote:
>>
>>  Thank you, but that didn't seem to fix the problem.
>>>
>>> I see there's a new LibreOffice version. I believe this issue wasn't
>>> corrected, but I'll update it anyway. I'll let you know if the behavior
>>> changes.
>>>
>>>
>>> On Tue, Nov 6, 2012 at 11:39 PM, MiguelAngel <[email protected]>*
>>> *wrote:
>>>
>>>  El 07/11/12 1:28, Minix escribió:
>>>>
>>>>  Thank you.
>>>>>
>>>>> I have reproduced your exact same steps, but with Brazilian Portuguese
>>>>> instead of German. The document language switches back to English as
>>>>> soon
>>>>> as I start typing again. Likewise, the default language in
>>>>> "Tools>Options>Language Settings>Languages>Default languages for
>>>>> documents"
>>>>> also switches back to English/Japanese when this happens.
>>>>>
>>>>> Whenever I set the language back to Portuguese, newly typed text is
>>>>> treated
>>>>> as English. I can, for example, select all the text in Portuguese and
>>>>> set
>>>>> it to be treated as Portuguese, but any new or modified text gets
>>>>> treated
>>>>> as English.
>>>>>
>>>>> On Tue, Nov 6, 2012 at 12:41 PM, Dr. R. O Stapf
>>>>> <[email protected]>****wrote:
>>>>>
>>>>>
>>>>>   I am not sure if my test matches your situation:
>>>>>
>>>>>> I have LibO:
>>>>>> - User interface English
>>>>>> - Asian language: Japanese
>>>>>> - German dictionary installed
>>>>>> - Normally I am using English and Japanese
>>>>>>
>>>>>> Test:
>>>>>> - Opened a new writer document, started typing in German.
>>>>>> - The spellchecker showed errors; red wavy lines under words.
>>>>>> - Changed to German (Tools/Language/For all text / German)
>>>>>> - Spellchecker removed red wavy lines under words.
>>>>>> - Switch over to Japanese writing (半角/全角key) and wrote a Japanese
>>>>>> sentence
>>>>>> (Kanji, hiragana, katakana) without any problems. No wavy red lines
>>>>>> under
>>>>>> the Japanese words.
>>>>>> - Switched back from Japanese (半角/全角key again) and continued writing
>>>>>> German.
>>>>>> No wavy red lines under the German words. Thus writer recognized
>>>>>> German
>>>>>> correctly.
>>>>>> - copied Japanese text into clipboard and pasted at the end of the
>>>>>> German
>>>>>> text (no switching to Japanese writing)
>>>>>> - Continued writing German and all is okay.
>>>>>>
>>>>>> I am using LibO 3.5.7 on XP / SP3
>>>>>>
>>>>>> Hope it gives you a hint.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 2012-11-06 23:05, Minix wrote:
>>>>>>
>>>>>>   Good afternoon.
>>>>>>
>>>>>>> I'm sorry for insisting, but it's been 13 days and I haven't had a
>>>>>>> single
>>>>>>> response, nor were able to fix the issue.
>>>>>>>
>>>>>>> At the very least, is anyone here affected by this problem?
>>>>>>>
>>>>>>> Thank you.
>>>>>>>
>>>>>>> On Wed, Oct 24, 2012 at 11:11 PM, Minix <[email protected]> wrote:
>>>>>>>
>>>>>>>    Good evening.
>>>>>>>
>>>>>>>  I'm running LibreOffice 3.6.2.2 on Windows 7. My default language in
>>>>>>>> LibreOffice is set to Brazilian Portuguese.
>>>>>>>>
>>>>>>>> When I'm typing a text in Portuguese and insert Japanese text, the
>>>>>>>> AutoCorrect changes the language to the following text to English.
>>>>>>>> The
>>>>>>>> text
>>>>>>>> that has already been typed as Portuguese remains unaffected. I am
>>>>>>>> able
>>>>>>>> to
>>>>>>>> set the text manually back to Portuguese, but as soon as Japanese
>>>>>>>> text is
>>>>>>>> typed, the roman script that comes afterward is treated again as
>>>>>>>> English.
>>>>>>>>
>>>>>>>> Is this a known problem? Do anyone know a solution or workaround
>>>>>>>> that
>>>>>>>> doesn't require manually changing the language every time?
>>>>>>>>
>>>>>>>> Thank you.
>>>>>>>>
>>>>>>>> - Raphael Campos
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  --
>>>>>> For unsubscribe instructions e-mail to: [email protected].
>>>>>> ***
>>>>>> ***
>>>>>> org <users%2Bhelp@global.**libreof**fice.org <http://libreoffice.org>
>>>>>> <users%252Bhelp@**global.libreoffice.org<users%[email protected]>
>>>>>> >
>>>>>> Problems? http://www.libreoffice.org/*****
>>>>>> *get-help/mailing-lists/how-**to-<http://www.libreoffice.org/****get-help/mailing-lists/how-to->
>>>>>> **** <http://www.libreoffice.org/****get-help/mailing-lists/how-to-**
>>>>>> ** <http://www.libreoffice.org/**get-help/mailing-lists/how-to-**>>
>>>>>> unsubscribe/<http://www.**libr**eoffice.org/get-help/**<http://libreoffice.org/get-help/**>
>>>>>> mailing-lists/how-to-****unsubscribe/<http://www.**
>>>>>> libreoffice.org/get-help/**mailing-lists/how-to-**unsubscribe/<http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/>
>>>>>> >
>>>>>> Posting guidelines + more: http://wiki.****documentfoundati**
>>>>>> on.org/**<ht**tp://documentfoundation.org/**<http://documentfoundation.org/**>
>>>>>> **>
>>>>>> Netiquette 
>>>>>> <http://wiki.**documentfoundat**ion.org/**Netiquette<http://documentfoundation.org/**Netiquette>
>>>>>> <http://**wiki.documentfoundation.org/**Netiquette<http://wiki.documentfoundation.org/Netiquette>
>>>>>> >
>>>>>> List archive: http://listarchives.****libreoff**ice.org/global/**
>>>>>> users/ <http://ice.org/global/users/><http://libreoffice.org/**
>>>>>> global/users/ <http://libreoffice.org/global/users/>>
>>>>>> <http://**listarchives.**libreoffice.org/**global/**users/<http://listarchives.libreoffice.org/**global/users/>
>>>>>> <http://listarchives.**libreoffice.org/global/users/<http://listarchives.libreoffice.org/global/users/>
>>>>>> >
>>>>>>
>>>>>> All messages sent to this list will be publicly archived and cannot be
>>>>>> deleted
>>>>>>
>>>>>>
>>>>>>    Hi Raphael,
>>>>>
>>>> Have you tried resetting the user profile.
>>>> Often solves strange problems.
>>>> wiki.documentfoundation.org/****UserProfile<http://wiki.documentfoundation.org/**UserProfile>
>>>> <http://wiki.**documentfoundation.org/**UserProfile<http://wiki.documentfoundation.org/UserProfile>
>>>> >
>>>>
>>>>
>>>> I guess the font language is right in the paragraph and character
>>>> styles.
>>>>
>>>> Miguel Ángel.
>>>>
>>>>
>>>>
>>>> --
>>>> For unsubscribe instructions e-mail to: [email protected].*
>>>> ***
>>>> org 
>>>> <users%2Bhelp@global.**libreoffice.org<users%[email protected]>
>>>> >
>>>> Problems? http://www.libreoffice.org/****get-help/mailing-lists/how-to-
>>>> **** <http://www.libreoffice.org/**get-help/mailing-lists/how-to-**>
>>>> unsubscribe/<http://www.**libreoffice.org/get-help/**
>>>> mailing-lists/how-to-**unsubscribe/<http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/>
>>>> >
>>>> Posting guidelines + more: 
>>>> http://wiki.**documentfoundati**on.org/**<http://documentfoundation.org/**>
>>>> Netiquette 
>>>> <http://wiki.**documentfoundation.org/**Netiquette<http://wiki.documentfoundation.org/Netiquette>
>>>> >
>>>> List archive: 
>>>> http://listarchives.**libreoff**ice.org/global/users/<http://libreoffice.org/global/users/>
>>>> <http://**listarchives.libreoffice.org/**global/users/<http://listarchives.libreoffice.org/global/users/>
>>>> >
>>>> All messages sent to this list will be publicly archived and cannot be
>>>> deleted
>>>>
>>>>
>>>
>
>
> --
> For unsubscribe instructions e-mail to: [email protected].**
> org <users%[email protected]>
> Problems? http://www.libreoffice.org/**get-help/mailing-lists/how-to-**
> unsubscribe/<http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/>
> Posting guidelines + more: http://wiki.**documentfoundation.org/**
> Netiquette <http://wiki.documentfoundation.org/Netiquette>
> List archive: 
> http://listarchives.**libreoffice.org/global/users/<http://listarchives.libreoffice.org/global/users/>
> All messages sent to this list will be publicly archived and cannot be
> deleted
>

-- 
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to