
ASTranslator
Source (link to git-repo or to original if based on someone elses unmodified work):
All updates you can see at http://alexsnet.ru/opensource/translator/
In the last version I use THJsonStreamReader for JSON parsing.
Update: added NSIS Installer
0.9.12.20
Protocol updated!
Font change possibility!
Proxy support!
Settings window
Some small changes
SOme bugs are fixed, new bugs were added
0.9.6.01:
Happy Birthday, Den Piterson!
Completely reworked the code.
Ability to set Proxy (beta)
Added About Qt
Added About App
Added Settings
Class interpreter is now separated from the GUI
Restored icon for Windows
0.9.5.28:
Tray Icon
Some fixes
0.9.3.02:
Fixed: don't saves last language pair on Windows
Some corrections in code
Added comments to code
Improved text correction after translating
Added keyboard shortcuts to translate Shift+Return
0.9.3.01:
Fixed a bug with public QStringList object
Fixed bug with flag icons
Corrected text output after translation
Fixed some other bugs
0.9.2.28:
Added flag icons.
Now application saves the last pair of languages
Some text output corrections
0.9.2.27:
Fixed bug with texts in Cyrillic and other encodings.
Ratings & Comments
22 Comments
when i compiled the application, it produces "Langs setted Lang flags configured... Last pair loaded All buttons are connected Starting translation. " however, it does not show the translated word after selecting a language to translate any idea?
when i compiled the application, it produces "Langs setted Lang flags configured... Last pair loaded All buttons are connected Starting translation. " however, it does not show the translated word after selecting a language to translate any idea?
Looks like Alex pulled up shop and left. Does anyone have the sources that could share?
No! I'm here. Just i have some difficulties in my life. All sources are available at http://github.com/AlexSnet/ASTranslator
g++ -c -pipe -pipe -Wall -O2 -march=i586 -mtune=i686 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Itemp -Itemp -o temp/googleproto.o src/googleproto.cpp src/googleproto.cpp: In member function 'void GoogleProto::textTranslated()': src/googleproto.cpp:61: error: no matching function for call to 'QString::compare(QStringRef)' /usr/include/qt4/QtCore/qstring.h:317: note: candidates are: int QString::compare(const QString&) const /usr/include/qt4/QtCore/qstring.h:318: note: int QString::compare(const QString&, Qt::CaseSensitivity) const /usr/include/qt4/QtCore/qstring.h:320: note: int QString::compare(const QLatin1String&, Qt::CaseSensitivity) const /usr/include/qt4/QtCore/qstring.h:323: note: static int QString::compare(const QString&, const QString&) /usr/include/qt4/QtCore/qstring.h:325: note: static int QString::compare(const QString&, const QString&, Qt::CaseSensitivity) /usr/include/qt4/QtCore/qstring.h:329: note: static int QString::compare(const QString&, const QLatin1String&, Qt::CaseSensitivity) /usr/include/qt4/QtCore/qstring.h:332: note: static int QString::compare(const QLatin1String&, const QString&, Qt::CaseSensitivity) make: *** [temp/googleproto.o] Error 1
On my Slackware 13.0 with Qt-4.5.1. The translation window show this expression without rendering! {"sentences":[{"trans":"my home","orig":"casa mia","translit":""}],"src":"it"} This is the console output > ./Translator Langs setted Lang flags configured... Last pair loaded All buttons are connected Starting translation.
Please use this: http://alexsnet.ru/wp-content/uploads/2009/02/ASTranslator.zip Bye :)
Many thanks it work fine now! Please add the version to the about window.
I have created an ebuild for Gentoo. Is tested and working :-) You can found the ebuild here: http://www.carrosses.com/~peratu/portage/app-misc/astranslator/
This is really useful application. Working fine with the Kubuntu 9.04. Thank you.
simple and useful application, but still need more functionality. This one may be a good reference: http://code.google.com/p/qgoogletranslate/ especially tab bar ;)
I knew this application, and, also, I knew author of those.
Hi , thanks for the advice and help,it's working now.
Hi, sorry, didn't understand what you meant by the graphics window(did you mean QGraphics).Am new to Qt, so ,not much idea about the classes. If you meant the application window,nothing's showing up in the Textedit box which should be showing the translated text. Any suggestions?
I think this is problem in QHttp or in QNetwork. As I can see in your log all operations finished at point Request Started. Try to wait some more time. Or reinstall Qt libraries. And I will ask my friends why this problem can be on your machine.
Hi, I exceuted the code again and left the window open overnight. This time the procedure seems to have been completed but, the output's not showing in the 'to' Textedit box (or anywhere else) [root@localhost bin]# ./Translator Hello, world! UI setted Langs setted Lang flags configured... Last pair loaded Http protocol initialized. All buttons are connected Starting translation. Now we know all we need. Url configured. Headers configured. ByteArray completed. HTTP host setted Request started Last language pair saved Good bye. But,why's the output not showing?any suggestions?
I don't know what is it. For Fedora users I write a small manual for compiling it. You can find it here: http://alexsnet.ru/opensource/translator/
Hi, the application looks great but, I am having some problems.I downloaded the code and then did- qmake Translator.pro make cd bin ./Translator The window's showing properly but, when I type in a word and click the 'Translate button',this is what I get(doesn't progress beyond this)--- Hello, world! UI setted Langs setted Lang flags configured... Last pair loaded Http protocol initialized. All buttons are connected Starting translation. Now we know all we need. Url configured. Headers configured. ByteArray completed. HTTP host setted Request started What could be the problem? Please advice.I am using Linux fedora 8.
Hello. This is debug information provided by qDebug function. Did you see graphics window?
thx
Hello AlexBSnet, your app cannot be downloaded :(
Oh, sorry! This is my bad! Download link was wrong. Fixed.