https://bugs.documentfoundation.org/show_bug.cgi?id=106306

            Bug ID: 106306
           Summary: Wrong text language detection, based on locale and not
                    keyboard
           Product: LibreOffice
           Version: 5.3.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: hossein...@gmail.com

Description:
I am a Persian/Farsi user, and I usually work with Persian/Farsi language
documents. Because of this, I use "Persian" locale in Libreoffice.
Now that I want to create an English language document, I change the keyboard
into English, and change the paragraph to left-to-right, and start typing. When
I closely look at the status bar, I see Persian in the language section of the
status bar, and I should type at least one character to see Englih language
there. This may not seem to create problems at first, but actually it does.
When I want to write quotation mark, it uses the Persian/Farsi quotation mark,
and not the correct English one.

Steps to Reproduce:
1. Set locale to Persian in Options > Language Settings > Languages > Locale
setting
2. Change the paragraph to LTR
3. Start typing something with single or double quotation mark like: "Test" or
'Test'

Actual Results:  
You will see that the first quotation mark is shown as « which is wrong.

Expected Results:
You should see the correct English quotation marks, double quotation mark " or
single quotation mark '.


Reproducible: Always

User Profile Reset: No

Additional Info:
This seems to be created in LibreOffice 5.3, which fixed a lot of  text
rendering issues. The locale prolbems are not confined to this. Translating
numerals into appropriate shapes according to the context is also wrong in
LibreOffice 5.3. If you set locale to Persian, you will see all the numerals
are Hindi in a completely English and LTR Impress document.


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101
Firefox/51.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to