Page 1 of 1

RU dictionary in Oxygen XML plugin for eclipse

Posted: Fri Oct 07, 2005 9:57 am
by Ezhik
I get russian dictionary ru.dar in windows-1251 encoding (CP1251) from http://www.xmlmind.com/spellchecker/use ... dicts.html and try to use it.

1. When i copy dictionary to plugin lib dir(there are jar files such as oxygenEclipse.jar) spell checker ignore ru.dar. bug?
2. Then i added content of ru.dar to dicts.jar and edit dicts file. After that spell checker find russian dictionary, but ignore russian words. English dictionary work well. How can i fix that?

Eclips save and edit xml file in correct CP1251 encoding - <?xml version="1.0" encoding="CP1251"?>

I would buy Professional & MP license for eclipse oxygen plugin, but i need russian spell checker for creating docbook documents.

Re: RU dictionary in Oxygen XML plugin for eclipse

Posted: Fri Oct 07, 2005 12:45 pm
by sorin_ristache
Hello,
Ezhik wrote:1. When i copy dictionary to plugin lib dir(there are jar files such as oxygenEclipse.jar) spell checker ignore ru.dar. bug?
Dictionaries don't work if you just copy them to the lib folder.
Ezhik wrote:2. Then i added content of ru.dar to dicts.jar and edit dicts file. After that spell checker find russian dictionary, but ignore russian words. English dictionary work well. How can i fix that?
I did the same in Eclipse 3.1 with <oXygen/> 6.2 and it worked for me. It detected words like "учет", "соц обеспечения", "ПАЖ", "приведена" etc offering a list of possible replacements and allowed words like "проживания", "загранпаспорта", "оформляется", "нахождении" etc. After adding ru\base.cdi, ru\default and ru\language to dicts.jar I added to dicts file the lines

Code: Select all

language	ru	Russian	Russian
ru/default


Regards,
Sorin

Posted: Fri Oct 07, 2005 5:38 pm
by Ezhik
To sorin: thank you very much for you reply.
I find solution. If i run eclipse under CP1251 locale - spell checking isn't work. When i run eclipse in UTF8 locale "LANG=ru_RU.UTF8 eclipse-3.1" spell checker work perfectly.

I hope this help somebody.