dpkg-reconfigure hunspell-es doesn't ask you the default language

Bug #1652287 reported by José Luis González
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice-dictionaries (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Usually, when doing dpkg-reconfigure dict-package, debconf asks you the default language you want for that dictionary system. That is what happens with wspanish, for instance. However, if I do

$ dpkg-reconfigure hunspell-es

I don't get asked the default hunspell language and have no clue about how to set it.

I'm running xenial and hunspell-es is version 5.1.0-1ubuntu2.2.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I don't know if it ever worked that way, but AFAIK it doesn't currently.

The default hunspell word list is locale dependent, and if you use Spanish as your system language, hunspell-es ought to be the default. Otherwise, one way to make it the default is to open the ~/.profile file for editing and append this line:

export LC_CTYPE=es_ES.UTF-8

HTH

Changed in libreoffice-dictionaries (Ubuntu):
status: New → Incomplete
Revision history for this message
José Luis González (jlgg) wrote : Re: [Bug 1652287] Re: dpkg-reconfigure hunspell-es doesn't ask you the default language

This is not possible to me. I need C.UTF-8 or en_US.UTF-8 locale, but
want Spanish dictionaries by default.

If you wonder why we have many scripts that depend on English (or C)
locale but they don't use dictionaries so it's not a problem if I set
them to Spanish (which is what I would wish I could). One option is
setting all locales each time I run one of those internal scripts, but I
don't want to risk forgetting, for the time being.

On 23/12/16 14:36, Gunnar Hjalmarsson wrote:
> I don't know if it ever worked that way, but AFAIK it doesn't currently.
>
> The default hunspell word list is locale dependent, and if you use
> Spanish as your system language, hunspell-es ought to be the default.
> Otherwise, one way to make it the default is to open the ~/.profile file
> for editing and append this line:
>
> export LC_CTYPE=es_ES.UTF-8
>
> HTH
>
> ** Changed in: libreoffice-dictionaries (Ubuntu)
> Status: New => Incomplete
>

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

There are multiple locale categories, and it's not clear to me why it wouldn't be possible for you to set a single category to a Spanish locale. (The locale must be generated first, of course.)

Anyway, possibly there is some other way to achieve what you want, so I'd recommend you to seek support at e.g. <http://askubuntu.com>. Closing this bug report, since the feature you would like to see does not exist.

Changed in libreoffice-dictionaries (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.