2013/9/20 Jaume Ortolà i Font <[email protected]>

> The major question is about the country variants in LibreOffice. Is it
> really working? For example, when using British English in LibreOffice, I
> don't see any match for "apartment" or "zip code" as defined here in the
> grammar rules for British English [1]. Can somebody confirm this? The
> country variant seems to be ignored. If this isn't to be fixed first, I
> will not commit any change, as all will be useless.
>

I found the source of the problem.

LanguageTool and LibreOffice comunicate the language definition data via
the Locale. The Locale is defined [1] with 3 elements: language ("ca"),
country ("ES") and variant ("valencia").  In Main.java of the
office-extension module there is a confusion between Country and Variant.
The cause is probably that we named functions and variables refering to
"CountryVariants".

The problem for British English is now solved. I have to work now on the
country and variant issue for Valencian Catalan.

Regards,
Jaume Ortolà


[1]
http://www.openoffice.org/api/docs/common/ref/com/sun/star/lang/Locale.html
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to