traduttore per linux

salve a tutti!
esiste un programma per la traduzione di parole? qualcosa tipo babylon per linux?

Penso che gnome-translate sia quello che cerchi… Le traduzioni vengon fatte però solo con pc connesso ad internet.

altri non ce ne sono?

Una veloce ricerca in google “babylon linux” da buoni frutti! Si può usare il programma Stardict (che si trova su repo fedora) e integrare (o sostituire) i suoi pochi dizionari con quelli di babylon convertiti con Dictconv. In questi giorni non ho tempo per provare, facci sapere se la cosa funziona.

Se no esiste anche KTranslator, ma non l’ho provato.

Grazie pocoto …ho seguito il tuo consiglio.
ho cercato “babylon linux” e ho trovato http://www.pietrodigiorgio.it/281/usare-i-dizionari-di-babylon-su-ubuntu-704-guida-4-dummies/ dettagliatissima pagina su come installare il tutto. :slight_smile:
Ma mi sono imbattuto in un problema.
ho provato a installare dicconv e quando do il comando ./configure mi dà questo problema:

[root@localhost dictconv-0.2]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details.
sicuramente devo installare qualche libreria di c ma non ho capito bene quale. qualcuno può aiutarmi?

Ti mancano i compilatori:

# yum groupinstall "Development Tools"

ho installato i compilatori e tutto funziona perfettamente :slight_smile:
grazie raga!

ho provato anche ad installare ktranslator per vedere le differenze con stardict.
Credo che debba installare prima qualcosa …ma cosa?

[root@localhost ktranslator-0.4]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for kde-config... /usr/bin/kde-config checking where to install... /usr (as returned by kde-config) checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether gcc is blacklisted... no checking whether g++ supports -Wmissing-format-attribute... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wnon-virtual-dtor... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fno-common... yes checking whether g++ supports -fexceptions... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -O0... yes checking whether g++ supports -Wl,--no-undefined... yes checking whether g++ supports -Wl,--allow-shlib-undefined... yes not using lib directory suffix checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... f95 checking whether we are using the GNU Fortran 77 compiler... yes checking whether f95 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for f95 option to produce PIC... -fPIC checking if f95 PIC flag -fPIC works... yes checking if f95 supports -c -o file.o... yes checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking if C++ programs can be compiled... yes checking for strlcat... no checking if strlcat needs custom prototype... yes - in libkdefakes checking for strlcpy... no checking if strlcpy needs custom prototype... yes - in libkdefakes checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... yes checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking sys/bitypes.h usability... yes checking sys/bitypes.h presence... yes checking for sys/bitypes.h... yes checking for poll in -lpoll... no checking Carbon/Carbon.h usability... no checking Carbon/Carbon.h presence... no checking for Carbon/Carbon.h... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking if res_init needs -lresolv... yes checking for res_init... yes checking if res_init needs custom prototype... no checking for killpg in -lucb... no checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 4 checking for char *... yes checking size of char *... 4 checking for dlopen in -ldl... (cached) yes checking for shl_unload in -ldld... no checking for size_t... yes checking size of size_t... 4 checking for unsigned long... yes checking size of unsigned long... 4 checking sizeof size_t == sizeof unsigned long... yes checking for PIE support... yes checking if enabling -pie/fpie support... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for vsnprintf... yes checking for snprintf... yes checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

[quote=holyjoe_]
checking for X… configure: error: Can’t find X includes. Please check your installation and add the correct paths![/code][/quote]
Non devi installare niente, devi guardare nel Readme se le opzioni prevedono un reinderizzamento del configure oppure modificare il configure perché cerca in una directory sbagliata.
Per che sistema è il pacchetto che hai scaricato?

Credo che il pacchetto che ho scaricato sia per qualunque distribuzione linux. cmq l’ho scaricata da http://ktranslator.sourceforge.net/download.html.

ho aperto il file readme ma non c’è scritto nulla riguardo l’installazione.

KTranslator

KTranslator is a rewrite of KTradutor (http://ktradutor.sourceforge.net), a English to Brazilian Portuguese translation application.

KTradutor is a Brazilian Portuguese only program. So, a new rewrite was necessary to support other languages. KTranslator will support any language (I hope that) and come with a plugin system, to ease the addition of new dictionaries.

The main idea behind KTranslator is to translate a word without disturb the application in use.
So, when the user selects a word, KTranslator will try to translate the word and show the result in a popup window. It behaves like Babylon for Windows.

In the first time you run KTranslator, the program will ask you for a dictionary. A dialog will appear to add the dictionary. Choose one name for the dictionary. This can be anything and will be used in popup window to identify the dictonary.

Next, choose a dictionary file. This file can be a Freedict dictionary file, as distributed with the program. This dictionaries are converted from TEI file in the Freedict project (http://www.freedict.org) to a plain text format that KTranslator understands. If you want to use one of these dictionaries, choose the Freedict plugin.

The file can be Babylon dictionaries too. Only the .dic files are supported, not the new .bgl files. Note that Babylon dictionaries are actually 2 files, english.dic and engtoXXX.dic (the XXX is some language). You have to choose the engtoXXX.dic, place the english.dic in the same directory that the other file and choose Babylon plugin.

Another plugin is PlainText. This is the same format used by Freedict plugin above. The difference is you can change the dictionary file (i.e. adding new entries) with PlainText while the KTranslator is running. With Freedict plugin you cannot, but the search with Freedict plugin is more faster (~1ms in my tests).

DICT files can be used by plugin Dictd. This plugin reads dictionaries in DICT format. You can get one of these dictionaries in DICT website (http://www.dict.org) or FreeDict website (http://www.freedict.org). If you choose to use one of these dictionaries, select the .index file, put the other file (.dict or .dict.dz) in the same directory and chooses Dictd plugin.

KTranslator can use Sdictionary and StarDict dictionaries too. These dictionaries can be found in http://sdict.com/en/ and http://stardict.sourceforge.net. The former uses only on file, so select this file. The later uses three files. You should put all files in the same directory and select the .ifo file.

Now that you configure one dictionary, a icon in system tray will appear and you can translates some words. To translate a word, you can select the word while pressing . Doing this, a popup window will appear with the translation.

There are other way to translate. With you click with the Right Mouse Button in a word while pressing , the program will try to read the word through a OCR program (GOCR - http://jocr.sourceforge.net/) and the popup will appear. You have to install the GOCR. I have to say that OCR is highly experimental. Several times it will not understand the word. Sometimes, it not works at all.

http://rpmfind.net/linux/rpm2html/search.php?query=KTranslator&submit=Search+…&system=&arch= ci sono degli rpm per fedora 4, magari vanno ancora bene.

l’ho installato ma non va in esecuzione :frowning:

Lancialo da terminale e posta l’output che compare.

Purtroppo ho cestinato il file rpm.
Sono ritornato sul sito http://rpmfind.net/linux/RPM/index.html ma il file non c’è più:(
Forse qualche server è out. Farò un altro tentativo più tardi e vi farò sapere.

http://rpmfind.net/linux/rpm2html/search.php?query=KTranslator&submit=Search+…&system=&arch=

bene ho installato ktranslator da riga di comando. tutto ok nessun problema. Ora mi compare anche tra i programmi. Peccato solo che è una versione vecchia.

Non ho trovato altro di precompilato.