Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91667 - app-office/lyx - Portuguese language misspelled in Lyx document settings causing spellchecker to fail
Summary: app-office/lyx - Portuguese language misspelled in Lyx document settings caus...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: TeX project
URL: http://bugzilla.lyx.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on: 168799
Blocks:
  Show dependency tree
 
Reported: 2005-05-06 02:20 UTC by NR
Modified: 2007-10-14 08:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NR 2005-05-06 02:20:36 UTC
Portuguese language is spelled 'Portugese' in Lyx definitions. This causes all calls to spellchecker (aspell, ispell, hspell) to fail to recognize the language.

Reproducible: Always
Steps to Reproduce:
1.Open document settings
2.Choose language
3.Choose 'Portugese'
4. Press F7 to call the spellchecker

Actual Results:  
Alert pop-up says:
'The spell-checker has failled.
 The file /usr/lib/aspell/portuges can not be opened for reading.'

Expected Results:  
Run the spell-checker file /usr/lib/aspell/portugues (or the corresponding
ispell, hspell files, depending on dictionary definitions).
Comment 1 Rui Vilela 2005-07-04 02:47:18 UTC
This is due to old compactibility issues with string length used on Babel. The
correct form should be portuguese. I don't know solution, just clue
Comment 2 Martin Ehmsen (RETIRED) gentoo-dev 2006-05-20 14:43:04 UTC
There is a open bug upstream about this.
There is also described a work-around.
Comment 3 NR 2006-05-20 15:41:47 UTC
There is a simple but lazy workaround I've used with aspell:
I've created the file '/usr/lib/aspell/portuges.alias' by copying one of the already existing aliases for the language.
This way the spellchecker finds what it needs.
Is not a solution, is not pretty, but it works while this thing is not fixed in Lyx itself.
Comment 4 pavel sanda 2007-05-06 23:13:23 UTC
This problem should be fixed in 1.5.0.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-10-14 08:10:45 UTC
1.5.1 in the tree -> FIXED.