Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1029
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/29/1029/1
fdo#36324 fdo#42929 - option to ingore system input language changes
Created a new checkbox on the Langauges options page:
[] Ignore system input language
This is unchecked by default so that the current behavior remains the
default, i.e. newly entered text will be flagged as whatever the
current system input language is.
When checked however, this instructs LibreOffice to ignore the system
language (on Windows for example, the language from the Language Bar)
when determining the language for newly entered text. This is handled in
the lcl_isNonDefaultLanguage method of sw/source/ui/docvw/edtwin.cxx.
The option is also saved in registrymodifications.xcu
There are two main use cases:
1. This allows someone to use a single "international" keyboard on
Windows to type in multiple languages, (e.g. English, French, Spanish)
without changing the system keyboard. The person is then responsible for
setting the language for each word or run of text themselves in
LibreOffice. This seems to be the preferred workflow for some
translators and some educators developing language materials.
2. This allows someone writing in a minority language that is not
represented in one of Windows' locale options to still be able to type
in LibreOffice in their language using a keyboard tagged for another
language. Once they set the language in LibreOffice (e.g. to Teke-Eboo
[ebo_CG]), they can type with a keyboard as being for "Swahili" but
still succeed in entering new text in their language. This allows
spell-checking to work properly without them having to select each new
word they enter and reset the language of that word to Teke-Eboo (as is
currently the case).
Change-Id: I86248f5865b69048eb1f3e427a8c03b093138796
---
M cui/source/options/optgdlg.cxx
M cui/source/options/optgdlg.hrc
M cui/source/options/optgdlg.hxx
M cui/source/options/optgdlg.src
M officecfg/registry/schema/org/openoffice/Setup.xcs
M sw/source/ui/docvw/edtwin.cxx
M unotools/inc/unotools/syslocaleoptions.hxx
M unotools/source/config/syslocaleoptions.cxx
8 files changed, 135 insertions(+), 34 deletions(-)
--
To view, visit https://gerrit.libreoffice.org/1029
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I86248f5865b69048eb1f3e427a8c03b093138796
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Jeremy Brown <jeremy.r.brown@gmail.com>
Context
- [PATCH] fdo#36324 fdo#42929 - option to ingore system input language... · Jeremy Brown (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.