Leonardo Fontenelle wrote: > I made a pt.utf-8.spl from myspell-pt_BR, and placed it in ~/.vim/spell/. > When I run ":set spell spelllang=pt_BR", I get an error message: > "Warning: region BR not supported". My locale is pt_BR, and I'm sure > vim knows about that because ":lang" yields "pt_BR.UTF-8". Curiously, > running ":set spell spelllang=~/.vim/spell/pt.utf-8.spl" works!
If you have a spell file without regions, use ":set spl=pt". The distributed spell file has both pt_PT and pt_BR. See runtime/spell/pt/ in the distributed runtime files (before installing). > http://ftp.vim.org/vim/runtime/spell/README_pt.txt doesn't have any > contact information for the maintainers, and logs changes up to 2002, > when the pt_PT and pt_BR dictionaries where based on the ispell ones. > > Since then the br.ispell maintainer has disappeared, and the myspell > dictionary developed by BrOffice.org (OOo's pt_BR community) became > circa ten times larger than br.ispell. I released recently an updated > aspell6-pt_BR based on BrOffice.org's dictionay, and would like > everyone to have an updated pt_BR dictionary for vim. > > Please help me: > - Use the custom dictionay without "region not supported" errors. > - Contact the pt.ENC.(spl|sug) maintainers. > - Understand how to create a sug file. > - How the better way to talk to Bram about pt dict maintainership. I'll be very glad if someone wants to take over maintaining the spell file for a specific language. Look in the directory mentioned above, you will find *.diff files. These need to be applied to new .dic and .aff files, as much as possible. More info in runtime/spell/README.txt. Generating the files is done with an Aap script. Installing Aap should be easy, it only requires Python. -- >From "know your smileys": |-( Contact lenses, but has lost them /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
