Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No spell check in Libreoffice
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 328
Location: Belgium

PostPosted: Sat Feb 13, 2016 4:12 pm    Post subject: No spell check in Libreoffice Reply with quote

Although I have hunspell and a bunch of dictionaries installed, I have only the English spell checker available in Libreoffice (Tools > Options > Language Options > Writing Aids > User defined dictionaries only shows English).

Quote:
# qlist -ICv libreoffice hunspell myspell
app-dicts/myspell-de-2015.12.28
app-dicts/myspell-en-20151201
app-dicts/myspell-es-0.6
app-dicts/myspell-fr-4.5-r1
app-dicts/myspell-nl-2.10g
app-office/libreoffice-5.0.4.2
app-office/libreoffice-l10n-5.0.4.2
app-text/hunspell-1.3.3

Any suggestion?

Many thanks in advance.
Back to top
View user's profile Send private message
Perfect Gentleman
l33t
l33t


Joined: 18 May 2014
Posts: 772

PostPosted: Sat Feb 13, 2016 5:22 pm    Post subject: Reply with quote

add dictionaries as extensions from libreoffice's site
Back to top
View user's profile Send private message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 328
Location: Belgium

PostPosted: Sat Feb 13, 2016 7:11 pm    Post subject: No spell check in Libreoffice Reply with quote

Thanks for the suggestion. I know that I can do that but then I loose the benefits from the Gentoo build system and need to check for updates and changes myself. As far as I can see, it should work the way I did it but it does not.
Back to top
View user's profile Send private message
Perfect Gentleman
l33t
l33t


Joined: 18 May 2014
Posts: 772

PostPosted: Sun Feb 14, 2016 2:32 pm    Post subject: Reply with quote

on my both PCs it doesn't work that way
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 562
Location: USA

PostPosted: Tue Nov 27, 2018 3:43 am    Post subject: Reply with quote

I know I'm necro-posting, but I just encountered this as well and thought I'd share my solution in case it helps someone else. I'm not exactly sure when Gentoo implemented this (and whether it occurred all at once or only as packages were individually updated, but they apparently changed from using LINGUAS to L10N to determine which languages are installed:

https://www.gentoo.org/support/news-items/2016-06-23-l10n-use_expand.html

This has varying effects, including which dictionaries are installed with, eg., hunspell, which libreoffice uses for spell-checking. After a recent update I ended up with the spell checker installed but no dictionary... which is not exactly helpful.

Anyway, thowing this in make.conf and rebuilding with 'emerge -DNa --with-bdeps=y @world' fixed it for me:

Code:
L10N="en en-US en_US"


Edit: According to my logs, this bit me about 10 days ago:

Code:
20181117 12:56:48  === Unmerging... (app-dicts/myspell-en-20170101)

_________________
http://www.legroom.net/
Back to top
View user's profile Send private message
daniel.santos
n00b
n00b


Joined: 05 Jun 2007
Posts: 48

PostPosted: Fri Dec 21, 2018 7:48 am    Post subject: Reply with quote

nitro322 wrote:
I know I'm necro-posting


Well thank you for doing so!! I had en-US and en_US in mine, but that doesn't include "en". Nothing that I have installed is spell checking, firefox, thunderbird nor libreoffice. It is the "en" that appears to have pulled app-dicts/myspell-en back into the build (from app-text/hunspell L10N="en")
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1001
Location: Frankfurt, Germany

PostPosted: Sat Dec 22, 2018 1:49 am    Post subject: Reply with quote

Quote:
L10N="en en-US en_US"

'en_US' is invalid. You may want to remove that entry.

Look at /usr/portage/profiles/desc/l10n.desc for a list of valid entries.
Back to top
View user's profile Send private message
daniel.santos
n00b
n00b


Joined: 05 Jun 2007
Posts: 48

PostPosted: Sat Dec 22, 2018 11:31 am    Post subject: Reply with quote

mike155 wrote:

'en_US' is invalid. You may want to remove that entry.

Look at /usr/portage/profiles/desc/l10n.desc for a list of valid entries.

It depends upon whose game you're playing and sometimes what part of that game.

Apparently Gentoo is in the dash camp, yet fails to fall back to the language without a region when a language-region combination fails to match. I recall a number of years ago that using "en en_US en-US" resulted in me getting British English in Firefox as the "en" took precidence over en_US so I had to remove "en" to get American English.
Back to top
View user's profile Send private message
PabOu
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1088
Location: Hélécine - Belgium

PostPosted: Thu Dec 27, 2018 1:58 pm    Post subject: Reply with quote

daniel.santos wrote:
mike155 wrote:

'en_US' is invalid. You may want to remove that entry.

Look at /usr/portage/profiles/desc/l10n.desc for a list of valid entries.

It depends upon whose game you're playing and sometimes what part of that game.

Apparently Gentoo is in the dash camp, yet fails to fall back to the language without a region when a language-region combination fails to match. I recall a number of years ago that using "en en_US en-US" resulted in me getting British English in Firefox as the "en" took precidence over en_US so I had to remove "en" to get American English.


Actually, your two links are for i18n and l10n, which are two separate things (even though i18n includes l10n).

Regarding the dashes/hyphens and the underscores, one (dashes) is the IETF locale tag standard and the other (underscores) is the very old ISO15897 standard. The former is used in newer software and technologies (and I think you should use this one when possible, this might be the reason why Gentoo choose this one) and the latter is still there for compatibility purposes (POSIX locale is the best known example).
_________________
Mangez du poulet !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum