DesktopEditors
DesktopEditors copied to clipboard
Document language is not respected in new paragraphs.
This issue is unique.
- [X] I have used the search tool and did not find an issue describing my bug.
Operating System
Windows 10 / 8.1 / 7
Version information
version 7.5.1.23 (x64 msi)
Expected Behavior
New paragraphs get either the language of the preceding paragraph or the document language.
Actual Behavior
New paragraphs always gets set to English (Keyboard layout language) rather than the document language or preceding paragraph language.
Reproduction Steps
- Set Windows Keyboard layout to language A
- Set document language to language B
- Write new parapraphs.
Additional information
System and UI language is English, document language is Swedish. If I change the Windows keyboard layout to Swedish, it works, so it seems that the error comes from OO picking up the System keyboard layout rather than respecting user settings.
@erikhakansson, I regret to accede to your issue that Only Office has great potential of improving documents with multiple languages. Some of the issues below might resemble yours.
- https://github.com/ONLYOFFICE/DesktopEditors/issues/802
- https://github.com/ONLYOFFICE/DesktopEditors/issues/273
- https://github.com/ONLYOFFICE/DocumentServer/issues/2142
- https://github.com/ONLYOFFICE/DesktopEditors/issues/626
- https://github.com/ONLYOFFICE/DesktopEditors/issues/527
- https://github.com/ONLYOFFICE/DesktopEditors/issues/437
- https://github.com/ONLYOFFICE/DesktopEditors/issues/356
- https://github.com/ONLYOFFICE/DesktopEditors/issues/224
- https://github.com/ONLYOFFICE/DocumentServer/issues/576
- https://github.com/ONLYOFFICE/DesktopEditors/issues/1449
- https://github.com/ONLYOFFICE/DocumentServer/issues/2140
- https://github.com/ONLYOFFICE/DocumentServer/issues/2326
- https://github.com/ONLYOFFICE/DesktopEditors/issues/1223
- https://github.com/ONLYOFFICE/DesktopEditors/issues/1124
For OO team: I certainly admit that some of the issues above are closed. But who knows, maybe it's worth checking them occasionally.
Hello @erikhakansson! Thank you for your request! In the MS WORD editor the behavior is similar (as in the ONLYOFFICE editor). Which editor are you comparing with?
Hi!
I am not comparing to any other editor.
I do this:
- Set document language to Swedish
- Set paragraph language to Swedish
Yet when I press enter to start a new paragraph, OnlyOffice automatically changes to English and I have to manually change to Swedish again. Every single time I press enter. Again, this happens EVERY time I press Enter to create a new paragraph, so several times per minute.
It doesn't matter how other editors do it, but I find it weird if the default behaviour is to automatically change language every time you press Enter despite the fact that the user has selected another language multiple times. That makes it impossible to use spelling control of a language that is not setup on the computer that you're using.
Hello, @erikhakansson Sorry for the long wait I can confirm that the problem exists, issue #67119 with your proposal
The issue is actual in DocumentServer.
@erikhakansson In the desktop editor settings, you can disable the text language from the keyboard language. Perhaps this will help your problem?
@TatianaKirillova this makes no difference, unfortunately. I believe that option is for detecting language from text, right? In any case that options seems to be completely non-functional and the editor keeps picking up OS language settings.
Recently the problem has gotten even worse. It doesn't even matter what keyboard layout I use, it seems to pick up the OS language instead.
Hello, @erikhakansson Sorry for the long wait. The language of the input characters does not switch to the correct one even after entering characters in the language you need?