Public bug reported:

Binary package hint: myspell-pt-br

$ lsb_release -rd
Description:    Ubuntu Natty (development branch)
Release:        11.04

$ apt-cache policy myspell-pt-br
myspell-pt-br:
  Installed: 20101030-1
  Candidate: 20101030-1
  Version table:
 *** 20101030-1 0
        500 http://it.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

en-us and it-it symbolic links exist in /usr/share/myspell/dicts. As a
visible consequence, you can spell check in these languages in Firefox,
for instance. Although myspell-pt-br is installed, there's no link for
it in that same folder, so Firefox doesn't offer Brazilian Portuguese as
a language for spell checking.

I added them as root pointing to the hunspell dictionaries:

$ ls -l /usr/share/myspell/dicts/pt*
lrwxrwxrwx 1 root root 24 2011-04-14 16:04 /usr/share/myspell/dicts/pt_BR.aff 
-> ../../hunspell/pt_BR.aff
lrwxrwxrwx 1 root root 24 2011-04-14 16:04 /usr/share/myspell/dicts/pt_BR.dic 
-> ../../hunspell/pt_BR.dic

When I restarted Firefox, Brazilian Portuguese was now an option for
spell checking.

On a side note, I wanted to as you: why are there two links for each
language in /usr/share/myspell/dicts/? E.g. one is en-US (with dash) and
the other is en_US (with underscore):

$ ls -l /usr/share/myspell/dicts/en*.aff
lrwxrwxrwx 1 root root 24 2011-04-13 13:41 /usr/share/myspell/dicts/en_US.aff 
-> ../../hunspell/en_US.aff
lrwxrwxrwx 1 root root 24 2011-04-13 13:41 /usr/share/myspell/dicts/en-US.aff 
-> ../../hunspell/en_US.aff

That makes Firefox recognize two different U.S. English dictionaries.
Are both symlinks really necessary?

Thanks,
- Vítor

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: myspell-pt-br 20101030-1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
Architecture: i386
Date: Thu Apr 14 16:04:50 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: myspell-pt-br
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: myspell-pt-br (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/760724

Title:
  Missing symbolic links for pt-br dictionary in
  /usr/share/myspell/dicts

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to