You are not logged in.

#1 2008-05-25 16:36:43

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

[SOLVED] Unable to install dictionaries in OpenOffice.org

Well... Here's the problem:
I click File->Wizards->Install new dictionaries.
Then dicOOo pops up, I select my desired language (Bulgarian (Български)), I click: "Стартиране на DicOOo" (In english - Start DicOOo). Then error pops up:

Inadmissible value or data type.
Data type missmatch.

In the background there's a window with code (probably Vbasic)

REM  *****  BASIC  *****

public Const NbLangues=29
public traduction(0 to NbLangues, 0 to 70) as string

'******************************************************************************

sub ConstruitListeLangue
dim liste as object
dim i as long
dim ndebut as long

ndebut=iif(instr(version,"Beta")<>0,0,1)
liste=odlg.getcontrol("1-lstLangue")
for i=ndebut to NbLangues
    Liste.additem(traduction(i,0), Liste.GetItemCount)
next i

odlg.getcontrol("1-lstLangue").SelectItemPos(cInt(CurLangue-ndebut),true)

end sub

next i is highlighted... Any ideas?
Note that this happens not only on Bulgarian but on any language whose dictionary I want to install...

Last edited by Dheart (2008-05-27 15:13:06)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#2 2008-05-25 17:07:42

hacosta
Member
From: Mexico
Registered: 2006-10-22
Posts: 423

Re: [SOLVED] Unable to install dictionaries in OpenOffice.org

there are pacman packages for dictionaries, have you tried these?

Offline

#3 2008-05-25 18:29:41

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [SOLVED] Unable to install dictionaries in OpenOffice.org

There is no Bulgarian in the avaliable from pacman Dictionaries...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#4 2008-05-26 10:07:12

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [SOLVED] Unable to install dictionaries in OpenOffice.org

OKay tell me at least can all of you reproduce the fault?


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#5 2008-05-26 13:30:32

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: [SOLVED] Unable to install dictionaries in OpenOffice.org

Hello Dheart
You can do it manually :
1) go to http://lxr.go-oo.org/source/bg/src/dicts-extension/ (for example)
2) download
bg_BG.aff
bg_BG.dic
hyph_bg_BG.dic
th_bg_BG_v2.dat
th_bg_BG_v2.idx
3) under root, copy them to the '/opt/openoffice.org2.4/share/dict/ooo/' directory
4) under root, edit the 'dictionary.lst' file according to the format explained in the file
5) restart OpenOffice and configure it to use that dictionary for the spell checking ...

That doesn't solve the DicOOo error, but at least you should be able to install the dictionary you want.

Offline

#6 2008-05-26 14:14:34

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [SOLVED] Unable to install dictionaries in OpenOffice.org

Thanks for the advice but for some reason I installed the dictionaries, yet they seem not be recognized - There are two unknown dictionaries at my dictionary choose options, and there's one empty Bulgarian - it doesn't recognize even one word...

[root@lightbringer ooo]# ls | grep bg_BG
README_bg_BG.txt
README_th_bg_BG_v2.txt
bg_BG.aff
bg_BG.dic
hyph_bg_BG.dic
th_bg_BG_v2.dat
th_bg_BG_v2.idx
[root@lightbringer ooo]#

My dictionaries.lst:

### start en
DICT en AU en_AU
DICT en BZ en_GB
DICT en CA en_CA
DICT en IE en_GB
DICT en JM en_GB
DICT en NZ en_NZ
DICT en PH en_GB
DICT en ZA en_GB
DICT en TT en_GB
DICT en ZW en_GB
DICT en US en_US
DICT en GB en_GB

HYPH en US hyph_en_US
HYPH en AU hyph_en_GB
HYPH en BZ hyph_en_GB
HYPH en CA hyph_en_CA
HYPH en IE hyph_en_GB
HYPH en JM hyph_en_GB
HYPH en NZ hyph_en_GB
HYPH en PH hyph_en_GB
HYPH en ZA hyph_en_GB
HYPH en TT hyph_en_GB
HYPH en ZW hyph_en_GB
HYPH en GB hyph_en_GB

THES en US th_en_US_v2
THES en GB th_en_US_v2

### end en
### start es
DICT es AR es_ES
DICT es BZ es_ES
DICT es BO es_ES
DICT es CO es_ES
DICT es CR es_ES
DICT es CU es_ES
DICT es DO es_ES
DICT es EC es_ES
DICT es SV es_ES
DICT es GU es_ES
DICT es HN es_ES
DICT es MX es_MX
DICT es NI es_ES
DICT es PA es_ES
DICT es PY es_ES
DICT es PE es_ES
DICT es PR es_ES
DICT es ES es_ES
DICT es UY es_ES
DICT es VE es_ES
HYPH es AR hyph_es_ES
HYPH es BZ hyph_es_ES
HYPH es BO hyph_es_ES
HYPH es CO hyph_es_ES
HYPH es CR hyph_es_ES
HYPH es CU hyph_es_ES
HYPH es DO hyph_es_ES
HYPH es EC hyph_es_ES
HYPH es SV hyph_es_ES
HYPH es GU hyph_es_ES
HYPH es HN hyph_es_ES
HYPH es MX hyph_es_ES
HYPH es NI hyph_es_ES
HYPH es PA hyph_es_ES
HYPH es PY hyph_es_ES
HYPH es PE hyph_es_ES
HYPH es PR hyph_es_ES
HYPH es ES hyph_es_ES
HYPH es UY hyph_es_ES
HYPH es VE hyph_es_ES
THES es ES th_es_ES
### end es
### start bg
DICT bg BG bg_BG
THES bg BG th_bg_BG
HYPH bg BG hyph_bg_BG
### end bg

My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#7 2008-05-26 21:28:46

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: [SOLVED] Unable to install dictionaries in OpenOffice.org

Dheart wrote:

There are two unknown dictionaries at my dictionary choose options, and there's one empty Bulgarian

What do you mean exactly ? It's not clear to me.
You should rather have given the result of
ls -l| grep bg_BG
to verify that the files are not empty.
And I think that you should have in the dictionary.lst file :

...
### start bg
DICT bg BG bg_BG
THES bg BG th_bg_BG_v2
HYPH bg BG hyph_bg_BG
### end bg

Did you configure OpenOffice to use these langage files ?

Offline

#8 2008-05-27 11:36:45

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [SOLVED] Unable to install dictionaries in OpenOffice.org

Nothing's changed hmm It's just that now I've got another empty dictionary for synonims.
What I mean by empty dictionary is that no matter how simple word I type it is marked as unavaliable without any suggestions. For exampla if I type "Аз съм" which means I am both words are underlined with red, and when I click suggestions it's empty - no suggestions... BUT I can add new words to the empty dictionaries...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#9 2008-05-27 12:58:03

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: [SOLVED] Unable to install dictionaries in OpenOffice.org

You didn't say if the files have the right sizes :
ls -l /opt/openoffice.org2.4/share/dict/ooo/|grep bg_BG

Did you configure OpenOffice/Options/Language Settings ?

If you choose another language, does the spell checking work then?

How did you install OpenOffice and the language dictionaries ?

Try to answer all the questions please.

Last edited by berbae (2008-05-27 12:58:40)

Offline

#10 2008-05-27 14:56:00

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [SOLVED] Unable to install dictionaries in OpenOffice.org

[root@lightbringer ooo]# ls -l | grep bg_BG
-rw-r--r-- 1 root root    14769 25 апр  0,32 README_bg_BG.txt
-rw-r--r-- 1 root root    14915 25 апр  0,32 README_th_bg_BG_v2.txt
-rw-r--r-- 1 root root   204565 25 апр  0,32 bg_BG.aff
-rw-r--r-- 1 root root  8127131 25 апр  0,32 bg_BG.dic
-rw-r--r-- 1 root root   598056 25 апр  0,32 hyph_bg_BG.dic
-rw-r--r-- 1 root root  9963533 25 апр  0,32 th_bg_BG_v2.dat
-rw-r--r-- 1 root root  2618195 25 апр  0,32 th_bg_BG_v2.idx

I suppose they have the right size...
Yes I've configured OpenOffice.org Language settings to say Bulgarian.
Other Languages (English and Spanish) spellcheking works fine. The other OpenOffice.org dictionaries I installed with pacman... (Which reminds me that I should try to build my own Bulgarian package...)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#11 2008-05-27 15:12:49

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [SOLVED] Unable to install dictionaries in OpenOffice.org

FInaly solved... I installed it using http://aur.archlinux.org/packages.php?ID=6761 this aur package and no problems... I wonder what I was doing wrong, though...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#12 2008-05-27 15:45:03

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: [SOLVED] Unable to install dictionaries in OpenOffice.org

Did you check if the thesaurus function works ?
Because the AUR package writes
THES bg BG th_bg_BG
not
THES bg BG th_bg_BG_v2
in the dictionary.lst file

Maybe the first files you installed were corrupted. Because the package does exactly the same as what I told you, apart from the source of the files.

Nevertheless it's nice that the Bulgarian spell checking works now.
Greetings from France/Europe.

Offline

#13 2008-05-27 18:08:53

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [SOLVED] Unable to install dictionaries in OpenOffice.org

It shows in the dictionary as checked (and working) so I presume it works... I don't need it anyway and thank you very much for your help!


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

Board footer

Powered by FluxBB