the code-part is what i didn't catch yet and becouse of that i can't go onward with the last StepsHow to make the Babylon dictionaries work in ubuntu(stardict)?
they have some dictionaries on StarDict site but compared to Babylon dictionaries they are so few.. first go to Babylon site and download the dictionary which you want to use , (I download Kurdish and Farsi ones)
Now we should convert the downloaded dictionary to StarDict format ,
there is a program named dictconv , to convert dictionary formats to each other (including Babylon to StarDict)
here we go :
1- download dictconv here . you should install it by source (don't loose your pants , it is not hard)
2-Extract the zipped file which you downloaded , somewhere in your desktop .
3-Before we continue , open synaptic package manager and install "libxml2-dev" as it is needed for our program .
again go to synaptic package manager and install "dictzip".Code: Select all
then go to the folder on the desktop cd dictconv 4-then enter this : sudo ./configure 5- if the previous thing was done without any error continue , if it gave you error , (it usualy tells you , you need to install something) solve the error and continue : sudo make all install Now it is installed ! but we still need another program
now here we go to convert the bayblon dictionary : for example mine is Farsi.BGL
I copy it to the desktop then
cd Desktop
then
dictconv Farsi.BGL -o Farsi.ifo
in this example Farsi.BGL is the one which I downloaded from Babylon site and Farsi.ifo is the name of the output file which I want to make .
if you have done it successfully ,it should generate 3 files !
one of those 3 generated files is Farsi.dict (Farsi in my case)
now we should do this :
dictzip Farsi.dict
this command changes our .dict file to .dz !
now we should have three files
Farsi.dz
Farsi.ifo
Farsi.idx
create a folder on your desktop and move these 3 files to that folder .
and move those generated files to there , in my case I created Farsi in desktop and moved them
to the Farsi folder .
now we should move the whole things to the StarDict folder
sudo mv Farsi /usr/share/stardict/dic
and now I restart the StarDict and click on the "manager dictionaries" (it is in the Right Bottom corner of the window) and Enable the Farsi dictionary.
making the Babylon dictionaries work in ubuntu(stardict)
-
- Fame ! Where are the chicks?!
- Posts: 210
- Joined: 28 Oct 2009, 17:00
- 14
- Location: Germany
- Contact:
making the Babylon dictionaries work in ubuntu(stardict)
urhg ... guys what the hell is this suppose to mean
-
- Fame ! Where are the chicks?!
- Posts: 210
- Joined: 28 Oct 2009, 17:00
- 14
- Location: Germany
- Contact:
i get no error message but i tried to follow the steps till those:
and the programm still not working becouse of those undetailed stips, first he said go to the folder on the desktop cd dictconv (and there is no folder with this name on the desktop),after that enter sudo ./configure (where should i inter it)!!!!then go to the folder on the desktop
cd dictconv
4-then enter this :
sudo ./configure
5- if the previous thing was done without any error continue , if it gave you error , (it usualy tells you , you need to install something) solve the error and continue :
sudo make all install
Now it is installed ! but we still need another program
- computathug
- Administrator
- Posts: 2693
- Joined: 29 Mar 2007, 16:00
- 17
- Location: UK
- Contact:
Use the commandDltr wrote:i get no error message but i tried to follow the steps till those:and the programm still not working becouse of those undetailed stips, first he said go to the folder on the desktop cd dictconv (and there is no folder with this name on the desktop),after that enter sudo ./configure (where should i inter it)!!!!then go to the folder on the desktop
cd dictconv
4-then enter this :
sudo ./configure
5- if the previous thing was done without any error continue , if it gave you error , (it usualy tells you , you need to install something) solve the error and continue :
sudo make all install
Now it is installed ! but we still need another program
Code: Select all
locate dictconv
The devil can cite Scripture for his purpose.
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
-- William Shakespeare, "The Merchant of Venice"
https://tshirt-memes.com
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
yeah...and you have to do all this in a console, not Windows-like on the desktop.
so, open a shell, and then enter:
this will take a little to complete, because all files are indexed to enable the usage of the locate command as thuggy wrote:
it will output the path where the folder is located, for example /var/www/dictconv , then simply change the directory into the folder:
and there you can run the ./configure and "make all install" commands (if you are logged in as root user you can skip the "sudo").
so, open a shell, and then enter:
Code: Select all
updatedb
Code: Select all
locate dictconv
Code: Select all
cd /var/www/dictconv