Re: system-wide location for dictionary files and dictionary file name format

2017-02-16 Thread Eike Rathke
Hi Erik, On Tuesday, 2017-02-14 22:28:45 +0100, Erik Quaeghebeur wrote: > Hmm, it seems language tags such as ‘nl’ or ‘fr’ without a region > component, and which are valid according to bcp47 are not recognized by > LO. Is this a bug I should report? See my earlier mail in reply to Khaled. It's

Re: system-wide location for dictionary files and dictionary file name format

2017-02-16 Thread Eike Rathke
Hi Khaled, On Wednesday, 2017-02-15 15:35:59 +0200, Khaled Hosny wrote: > On Wed, Feb 15, 2017 at 12:42:22PM +, Caolán McNamara wrote: > > > Hmm, it seems language tags such as ‘nl’ or ‘fr’ without a region > > > component, and which are valid according to bcp47 are not recognized > > > by

Re: system-wide location for dictionary files and dictionary file name format

2017-02-16 Thread Eike Rathke
Hi, On Wednesday, 2017-02-15 12:42:22 +, Caolán McNamara wrote: > Yeah, "your mileage may vary" I guess kicks in there. The main "real- > world" use case for BCP47 is to distinguish Cyrillic vs Latin Serbian. > Couple of things. Firstly, you only get 8 letters for the part after x- > so

Re: system-wide location for dictionary files and dictionary file name format

2017-02-15 Thread Erik Quaeghebeur
> Firefox has no problem using ar.{aff,dic} for Arabic, neither does > gtkspell (or whatever GTK+ apps use). I can confirm. Firefox also deals nicely with the four French variants, even listing “French (Moderne)” for fr-moderne (doesn't do that for the others though, just gives “fr-reforme1990”,

Re: system-wide location for dictionary files and dictionary file name format

2017-02-15 Thread Erik Quaeghebeur
Caolán McNamara 2017-02-15 13:42: > > For Fedora we use http://www.dicollecte.org/download/fr/hunspell-french > -dictionaries-v6.0.2.zip and just unzip it and rename the > toutesvariantes.* to fr_FR.* to serve as the default French spelling > dictionary. FYI: ‘classique’ is (now) the recommended

Re: system-wide location for dictionary files and dictionary file name format

2017-02-15 Thread Khaled Hosny
On Wed, Feb 15, 2017 at 12:42:22PM +, Caolán McNamara wrote: > > Hmm, it seems language tags such as ‘nl’ or ‘fr’ without a region > > component, and which are valid according to bcp47 are not recognized > > by LO. Is this a bug I should report? > > Only if you intend to work on solving it,

Re: system-wide location for dictionary files and dictionary file name format

2017-02-15 Thread Caolán McNamara
On Tue, 2017-02-14 at 22:28 +0100, Erik Quaeghebeur wrote: > Caolán McNamara 2017-2-13 10:31: > > > > For dictionaries (and hyphenation patterns and thesaurus things) > > under > > linux we also check for system installed ones. This is > > DICT_SYSTEM_DIR > > in configure.ac and

Re: system-wide location for dictionary files and dictionary file name format

2017-02-14 Thread Erik Quaeghebeur
Caolán McNamara 2017-2-13 10:31: > > For dictionaries (and hyphenation patterns and thesaurus things) under > linux we also check for system installed ones. This is DICT_SYSTEM_DIR > in configure.ac and lingucomponent/source/lingutil/lingutil.cxx. Thanks for your elaborate response. I guess that

Re: system-wide location for dictionary files and dictionary file name format

2017-02-14 Thread Erik Quaeghebeur
> To install bundled, unzip the .oxt into a sub-dir of LO's > share/extensions/ dir. OK, this seems the best approach if we want to install whole extensions in Gentoo and not just the dictionary files. Thank, Erik ___ LibreOffice mailing list

Re: system-wide location for dictionary files and dictionary file name format

2017-02-13 Thread Caolán McNamara
On Mon, 2017-02-13 at 09:51 +0100, Stephan Bergmann wrote: > Any LO extension .oxt file (not just those relating to dictionaries) > can be installed in one of three ways, per user, "shared", or > "bundled". > > To install shared, run LO's 'unopkg --shared add ...' for installing  > that

Re: system-wide location for dictionary files and dictionary file name format

2017-02-13 Thread Stephan Bergmann
On 02/12/2017 11:45 PM, Erik Quaeghebeur wrote: Hunspell is covered; I'm focusing on dictionary files (spelling, thesaurus, hyphenation). Let's consider the French dictionaries from their source . These contain fr-classique, fr-moderne, fr-toutesvariantes, and

Re: system-wide location for dictionary files and dictionary file name format

2017-02-12 Thread Erik Quaeghebeur
Thanks, slacka. > To answer your first and third question, we use hunspell not myspell. Ok. I knew that hunspell was used, but was not sure about the location LO looks in for dictionary files. /usr/share/hunspell contains the spell checking dictionaries and these are linked to from

Re: system-wide location for dictionary files and dictionary file name format

2017-02-12 Thread slacka
be that the language dictionary associated with the user’s locales is installed. -- View this message in context: http://nabble.documentfoundation.org/system-wide-location-for-dictionary-files-and-dictionary-file-name-format-tp4207770p4207781.html Sent from the Dev mailing list archive

system-wide location for dictionary files and dictionary file name format

2017-02-12 Thread Erik Quaeghebeur
Dear list, I am working on improving the packaging of dictionary files for Gentoo Linux. So I would like to find information about a couple of things related to dictionaries. I have asked the same question on the user's mailing list and the Q site, but did not receive any sufficiently complete