Please ignore this patch. I've submitted it via gerrit instead.<div><br></div><div>Jeremy</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 8, 2012 at 7:46 PM, Jeremy Brown <span dir="ltr"><<a href="mailto:jeremy.r.brown@gmail.com" target="_blank">jeremy.r.brown@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I wanted to check if anyone had seen this and had a chance to look it over.<br>
<br>
Thanks,<br>
<br>
Jeremy<br>
<div class="HOEnZb"><div class="h5"><br>
On 11/2/12, Jeremy Brown <<a href="mailto:jeremy.r.brown@gmail.com">jeremy.r.brown@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> This is an enhancement to deal with the following issues:<br>
><br>
> <a href="https://bugs.freedesktop.org/show_bug.cgi?id=36324" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=36324</a><br>
> <a href="https://bugs.freedesktop.org/show_bug.cgi?id=42929" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=42929</a><br>
><br>
><br>
> Files modified:<br>
> cui\source\options\optgdlg.cxx<br>
> cui\source\options\optgdlg.hrc<br>
> cui\source\options\optgdlg.hxx<br>
> cui\source\options\optgdlg.src<br>
> officecfg\registry\schema\org\openoffice\Setup.xcs<br>
> sw\source\ui\docvw\edtwin.cxx<br>
> unotools\source\config\syslocaleoptions.cxx<br>
> unotools\inc\unotools\syslocaleoptions.hxx<br>
><br>
> Changes made:<br>
> Created a new checkbox on the Languages options page:<br>
> [] Ignore system input language<br>
> This is unchecked by default so that the current behavior is the default -<br>
> i.e. newly entered text will be flagged as the whatever the current system<br>
> input language is.<br>
><br>
> When checked however, this instructs LibreOffice to ignore the system<br>
> language (on Windows for example, the language from the Language Bar)<br>
> when determining the language for newly entered text. This is handled in<br>
> the lcl_isNonDefaultLanguage method of sw\source\ui\docvw\edtwin.cxx.<br>
><br>
> The option is also saved in registrymodifications.xcu<br>
><br>
> There are two main use cases:<br>
> 1. This allows someone to use a single "international" keyboard on<br>
> Windows to type in multiple languages, (e.g. English, French, and<br>
> Spanish) without changing the system keyboard. The person is then<br>
> responsible for setting the language of each word or run of text<br>
> themselves using the Tools->Lanuage->For Selection/For Paragraph/For<br>
> all Text menu items. This seems to be the preferred workflow for some<br>
> translators and some educators developing language materials.<br>
><br>
> 2. This allows someone writing in a minority language that is not<br>
> represented in one of Windows' locale options to still be able to<br>
> type in their language using a keyboard in another "language". Once<br>
> they set the language in LibreOffice (to Teke-Eboo [ebo_CG] for example),<br>
> they can type with a keyboard tagged as being for "English" or "French",<br>
> but still succeed in entering new text in their language. This allows<br>
> spell-checking to work properly, without them having to select each new<br>
> word they enter and reset the language of that word to Teke-Eboo, as is<br>
> currently the case.<br>
><br>
> I tried to follow the code for the "DecimalSeparatorAsLocale" checkbox<br>
> on the language page as I made this patch. Hopefully I've done all<br>
> right.<br>
><br>
> It's been tested on Windows 7. I think there is no expected behavior<br>
> change on most Linux distros because if I understand right, those<br>
> systems don't report a language to LibreOffice.<br>
><br>
> Thanks,<br>
><br>
> Jeremy<br>
><br>
</div></div></blockquote></div><br></div>