summaryrefslogtreecommitdiff
path: root/officecfg/registry/schema
diff options
context:
space:
mode:
authorJeremy Brown <jeremy.r.brown@gmail.com>2012-11-11 08:06:46 +0100
committerTor Lillqvist <tml@iki.fi>2012-11-12 10:23:58 +0000
commitb4d1aaa074e2be9fd778134c40f99d2ab8a01e93 (patch)
treee98461df70117ee86bea8103722d9d97d85dbbf0 /officecfg/registry/schema
parentfa637c4dff0a59922a726ff42fdf1f5f0354d2d6 (diff)
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 Reviewed-on: https://gerrit.libreoffice.org/1029 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'officecfg/registry/schema')
-rw-r--r--officecfg/registry/schema/org/openoffice/Setup.xcs8
1 files changed, 8 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Setup.xcs b/officecfg/registry/schema/org/openoffice/Setup.xcs
index c818cd3cef5d..a542308770a5 100644
--- a/officecfg/registry/schema/org/openoffice/Setup.xcs
+++ b/officecfg/registry/schema/org/openoffice/Setup.xcs
@@ -457,6 +457,14 @@
</info>
<value>true</value>
</prop>
+ <prop oor:name="IgnoreLanguageChange" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <author>OS</author>
+ <desc>Indicates whether changes to the system input language/keyboard will be ignored. If ignored, when new text is typed that text will follow the language of the document or current paragraph, not the current system language.</desc>
+ <label>Ignore system input language.</label>
+ </info>
+ <value>false</value>
+ </prop>
<prop oor:name="DateAcceptancePatterns" oor:type="xs:string" oor:nillable="true">
<!-- UIHints: Tools - Options - Language Settings - Languages - Language of - Date acceptance patterns -->
<info>