translatoid

Plasma 4 Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

31
6 .8
Description:

translator using google translator!
And it's my first plasmoids!!

svn co svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/translatoid
Last changelog:

9 years ago

-clear code
-add Catalan flag
-Add language title
- use Frame for the maintitle.
- Correct some encodage bug
- and more....

===0.4
- use kde svn :
http://websvn.kde.org/trunk/playground/base/plasma/applets/translatoid
- use PopupApplet! Now, Translatoid can be dock inside the main bar!
- Change language selection method! Now, You have to click and a KlistWidget appear !
- Add Copy and Past button
- Add AutoDetection language in languageList
- Add TooTip Message

Now, I need translator for translate, this translator... :)

===0.4.1
add Licence
add GPL2 header
replace setIcon() by nativeWidget()->seticon()

=====0.5
Add ListWidgetFlag inside the plasma and it appear with a Plasma::Animation!
Add Voice TTS support.

TODO : auto select - enter key - flag disabled for fedora!

======0.6
-AutoPaste the copy selection and autotranslate when you active Popup.
-GrabKeyboard when you active Popup
-Add "Clear Button"
-remove Cancel Button from DialogBox
-Add Po language file.
- Change inverse language icon
- Add Fedora Package without flags

====0.6.1
- Add new Icon
- change name : translatoid to plasma-applet-translatoid

======0.7
add New popup icon which can change his flags
use KConfigGroup for save favorite language
add FavoriteLanguage config dialog
some update of the code

=======0.8
IMPORTANT RELEASE :
change the algorithm of source translation. Now it use Post Method. It means that you can translate big text. And if you type 1 word, it get you the dictionnary result ! :) Thanks lexnewton.
=======0.9
-add new flags list ! Use a plasma::treeview with a QAbstractModel
-copy from the clipboard! Now, you just have to select a source text from anywhere, and active the popup, by cliking on the popup, or by a plasma shortcut.
-Change QTextEdit source event. Now, press Enter to translate, and press Shift+Enter to add a new line.

=======1.0
Change icon
Change a lot by aseigo , use KJob, nice animation during translate.
change the structure of translatoid
Will remove voice button, because KTTSD do the same job.
add estonishlanguage
===RC
After some error of myself! This is the good one :
- Set text color with theme color
- save your automaticaly last languages in use.

==1.1beta==== MAJOR CORRECTION
Now Translatoid use extender
Add Reminder extender to remind you some word after clicking on the star
Replace parsing by Json parsing. YOU NEED TO INSTALL libqjson
Clear some code and probably add some new bug.. :)
If you have some probs, contact me!

---1.1
Add new language :
"Afrikaans"
"Albanais"
"Albanais"
"Belarusian"
"Irish""Icelandic"
"Macedonian"
"Malaysia"
"Maltese"
"Persan"
"Swahili"
"Turkish"
"Yiddish"

1.12 ( Minor fix)
Just fix Icon installation...Sorry)
A new release will come out quickly

1.2 ( Minor fix)
Correct Html rending

1.21
Correct text color in "remind" area

1.30
Correct Json parser with new Google Api. Thanks alex789

1.30 bis
dominique fix

ingame

11 years ago

Takes only the first sentence - the rest are ignored.

Report

Leiche

11 years ago

same result...
I build it, but only first is translated

Report

C

dridk

11 years ago

I noticed it , But I don't know why...

Let me try to correct it

Report

montoya

11 years ago

Hi, if I try to translate this for example (EN -> IT):

My name is Francesco. I love KDE.

The result is:

Il mio nome è Francesco.


The second phrase is ignored... Why?

Report

NevidS

11 years ago

I have installed the translatoid-beta_1.1.i386.deb on my Kubuntu 9.10 but it's not appeared on the plasma list.
Why?

Report

NevidS

11 years ago

Ok, sorry. My wrong :p
I needed to install also plasma-widget-translatoid

Report

C

dridk

11 years ago

Sorry ! For the missing file...
I hope it will work now...

Otherwise, you can download it from svn :

svn co svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applet/translatoid

Report

3

chepioq

11 years ago

svn co svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applet/translatoid don't work...
I have this error:
Quote:[dominique@localhost ~]$ svn co svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applet/translatoid
svn: L'URL 'svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applet/translatoid' n'existe pas

Report

C

dridk

11 years ago

Forgotten de "s"! appletS
svn co svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/translatoid

Report

smeto

11 years ago

has anyone working kubuntu karmic i386 deb package? attached debian package not working for me. anyway very usefull plasmoid, thanks.

Report

buschmann23

11 years ago

I can not find the plasma-applet-translatoid.desktop file. Or am I blind?

Report

3

chepioq

11 years ago

When I compile I have an error message
Quote:CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
Could NOT find QJSON (missing: QJSON_LIBRARIES QJSON_INCLUDE_DIR)
Call Stack (most recent call first):
cmake/modules/FindQJSON.cmake:44 (find_package_handle_standard_args)
CMakeLists.txt:6 (find_package)


-- Configuring incomplete, errors occurred!

I am with Fedora11 and I have the JSON package installed

What is this QJSON package?

Report

3

chepioq

11 years ago

Hi...
I find a fedora package for qjson lib, I install it and now I can install your plasmoid....
But when I translate anything I have this result:
Quote:{"sentences":[{"trans":"The characterization of the controversy France","orig":"La qualification polémique de la France","translit":""}],"src":"en"}

Where is the problem?

Report

3

chepioq

11 years ago

Hi...
I find a fedora package for qjson lib, I install it and now I can install your plasmoid....
But when I translate anything I have this result:
Quote:{"sentences":[{"trans":"The characterization of the controversy France","orig":"La qualification polémique de la France","translit":""}],"src":"en"}

Where is the problem?

Report

C

dridk

11 years ago

Try it now, must work!

Report

3

chepioq

11 years ago

No that don't work...I have same error message and with Fedora I don't find the QJSON-devel package.
And when I download your package source, it is the 1.1 version and not the 1.1b version...

Report

M3t4linux

11 years ago

I'm on Debian sid and I have to install
libqjson-dev for compiling it

And it works perfectly!!

Report

C

dridk

11 years ago

I just added RPM and Deb package... It's not official, But it should work

Report

C

dridk

11 years ago

NOW I AM USING JSON TO PARSE IT , Because Google has change!

Answer me if it works ! thx

Report

Leiche

11 years ago

Google translator has updated, and now when i will translate anything it shows now so

{"sentences":[{"trans":"tonight","orig":"heute nacht","translit":""}],"dict":[{"pos":"Adverb","terms":["tonight"]}],"src":"de"}

Thanks...

Report

musonio

11 years ago

Is there any way to change the font color? I can't see absolutely anything.

Report

dglent

11 years ago

Is it possible to add a feature? To be able to choose some of the languages to have to the list. I do translations between 2-3 languages and every time i have to open the long column with the countries and choose the language. It would be more fast if i have 4-5 countries in the list

Report

Comarade

11 years ago

Could someone please make a 1.0 package for Mandriva 2009.1 (with unofficial KDE 4.3 on-board)?

Report

dglent

11 years ago

you can try this one
http://www.mandrivalinux.gr/rpm/2010.0/i586/plasma-applet-translatoid-1.0-1mlgr2010.0.i586.rpm

Report

ronanjardim

11 years ago

Hi,

Can you add Brazilian Portuguese also?

Since you have already Brazilian flag in the package, the only thing I needed to add this was add the following lines in the function:

void LanguageModel::setupLanguageMap()

c.code = "pt-BR";
c.icon = "kbflags/br.png";
c.name = i18n("Brazilian Portuguese");
m_languageMap[c.code] = (c);

I have tested and it is working beautifully. So I'm asking you to add this in the next releases.

Thanks,
Ronan.

Report

9 years ago

-clear code
-add Catalan flag
-Add language title
- use Frame for the maintitle.
- Correct some encodage bug
- and more....

===0.4
- use kde svn :
http://websvn.kde.org/trunk/playground/base/plasma/applets/translatoid
- use PopupApplet! Now, Translatoid can be dock inside the main bar!
- Change language selection method! Now, You have to click and a KlistWidget appear !
- Add Copy and Past button
- Add AutoDetection language in languageList
- Add TooTip Message

Now, I need translator for translate, this translator... :)

===0.4.1
add Licence
add GPL2 header
replace setIcon() by nativeWidget()->seticon()

=====0.5
Add ListWidgetFlag inside the plasma and it appear with a Plasma::Animation!
Add Voice TTS support.

TODO : auto select - enter key - flag disabled for fedora!

======0.6
-AutoPaste the copy selection and autotranslate when you active Popup.
-GrabKeyboard when you active Popup
-Add "Clear Button"
-remove Cancel Button from DialogBox
-Add Po language file.
- Change inverse language icon
- Add Fedora Package without flags

====0.6.1
- Add new Icon
- change name : translatoid to plasma-applet-translatoid

======0.7
add New popup icon which can change his flags
use KConfigGroup for save favorite language
add FavoriteLanguage config dialog
some update of the code

=======0.8
IMPORTANT RELEASE :
change the algorithm of source translation. Now it use Post Method. It means that you can translate big text. And if you type 1 word, it get you the dictionnary result ! :) Thanks lexnewton.
=======0.9
-add new flags list ! Use a plasma::treeview with a QAbstractModel
-copy from the clipboard! Now, you just have to select a source text from anywhere, and active the popup, by cliking on the popup, or by a plasma shortcut.
-Change QTextEdit source event. Now, press Enter to translate, and press Shift+Enter to add a new line.

=======1.0
Change icon
Change a lot by aseigo , use KJob, nice animation during translate.
change the structure of translatoid
Will remove voice button, because KTTSD do the same job.
add estonishlanguage
===RC
After some error of myself! This is the good one :
- Set text color with theme color
- save your automaticaly last languages in use.

==1.1beta==== MAJOR CORRECTION
Now Translatoid use extender
Add Reminder extender to remind you some word after clicking on the star
Replace parsing by Json parsing. YOU NEED TO INSTALL libqjson
Clear some code and probably add some new bug.. :)
If you have some probs, contact me!

---1.1
Add new language :
"Afrikaans"
"Albanais"
"Albanais"
"Belarusian"
"Irish""Icelandic"
"Macedonian"
"Malaysia"
"Maltese"
"Persan"
"Swahili"
"Turkish"
"Yiddish"

1.12 ( Minor fix)
Just fix Icon installation...Sorry)
A new release will come out quickly

1.2 ( Minor fix)
Correct Html rending

1.21
Correct text color in "remind" area

1.30
Correct Json parser with new Google Api. Thanks alex789

1.30 bis
dominique fix

12345678910
15
product-maker janet Aug 22 2015 9 excellent
product-maker Zolnierzu May 26 2012 9 excellent
product-maker fadnix Apr 04 2011 9 excellent
product-maker infectedsoundsystem Jan 19 2011 9 excellent
product-maker chepioq Jan 05 2011 3 bad
product-maker vitoubien Nov 30 2010 9 excellent
Be the first to comment
janet
Aug 22 2015
Zolnierzu
May 26 2012
papylhomme
Apr 18 2011
cruzki
Feb 14 2011
tigerfoot
Dec 12 2010
max99
Dec 05 2010
Senth
Aug 15 2010
Refused
Jun 21 2010
Siminin
Jan 11 2010
fadnix
Dec 06 2009
Leiche
Nov 25 2009
montoya
Nov 21 2009
jajaX
Nov 19 2009
lordlukas
Nov 19 2009
perezmeyer
Sep 30 2009
M3t4linux
Aug 18 2009
EinfachToll
Jul 28 2009
dualpretop
Jul 14 2009
Podstavsky
Jun 10 2009
jzakrzewski
Apr 30 2009
dkarnout
Apr 25 2009
gimox
Apr 21 2009
universe777
Apr 18 2009
okias
Mar 25 2009
brdn25
Mar 16 2009
glad
Mar 09 2009
mbaszczewski
Feb 26 2009
dimitrispan88
Feb 12 2009
its
Feb 12 2009
ingame
Feb 07 2009
torkiano
Jan 31 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.30
updated Nov 30 2010
added Jan 14 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 5