Bug 169 - missing translations in plasma-applet-translatoid (was : package request, plasma-applet-translatoid)
Summary: missing translations in plasma-applet-translatoid (was : package request, pla...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Oliver Burger
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2011-02-24 20:57 CET by Dimitrios Glentadakis
Modified: 2012-03-23 19:49 CET (History)
6 users (show)

See Also:
Source RPM: plasma-applet-translatoid
CVE:
Status comment:


Attachments

Description Dimitrios Glentadakis 2011-02-24 20:57:29 CET
I'd like to ask to add the rpm plasma-applet-translatoid


Reproducible: 

Steps to Reproduce:
Comment 1 Ahmad Samir 2011-02-24 23:32:28 CET
Imported.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 2 Dimitrios Glentadakis 2011-02-25 20:31:24 CET
Thanks Ahmad, the only problem is that this version it has a bug with the parser
http://kde-look.org/content/show.php/translatoid?content=97511
I downloaded the svn version
svn co svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/translatoid

and the problem is fixed
I rebuilt the file localy and i test it it works

So, for me is ok now.
Comment 3 Ahmad Samir 2011-02-26 00:40:33 CET
I am sorry, but I see the post about the Greek .po file here was done on 7th Jan 2011, while the last change in svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/translatoid was 15month ago, so I don't see how this is version 1.30 , so I can't get the latest svn changes you're talking about.

Keywords: (none) => NEEDINFO
Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 4 Dimitrios Glentadakis 2011-03-05 18:18:11 CET
i dont see any translation for this program, either greek either french. Will ne included in the next version ?
Comment 5 Ahmad Samir 2011-03-05 18:56:43 CET
The package in the repos uses the tarball from http://kde-look.org/content/show.php/translatoid?content=97511

You said the html parsing in broken and is fixed in upstream svn, right? I don't see anything about that in upstream svn...

So I need either a tarball from upstream or a link to the currently used upstream svn repo...
Comment 6 Dimitrios Glentadakis 2011-03-05 20:46:15 CET
The fix has to be the file with the latest date so the http://websvn.kde.org/trunk/playground/base/plasma/applets/translatoid/ktranslatoid.cpp?revision=1178194&view=markup

As you can see in the http://kde-look.org/content/show.php/translatoid?content=97511 the author of the program (dridk) replies the 7 january with the svn version to fix the problem. Probably he was a few months late:

svn work
 
 by dridk on: Jan 7 2011  
 --  svn co svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/translatoid


After, we can see at rpm releases of other distro:
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.30-3.svn01092011
  - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Jan 26 2011 Eli Wapniarski <eli@orbsky.homelinux.org> 1.30
  -1.30-2.svn01092011
  - Fix for new Google Api.
* Sun Jun 13 2010 Eli Wapniarski <eli@orbsky.homelinux.org> 1.30
  -1.30
  - Version upgrade
  - Correct Json parser with new Google Api.
http://rpmfind.net//linux/RPM/fedora/devel/rawhide/i386/kde-plasma-translatoid-1.30-3.svn01092011.fc15.i686.html
Comment 7 Ahmad Samir 2011-03-05 22:12:49 CET
I got confused by chepioq comment on http://kde-look.org/content/show.php/translatoid?content=97511 , he said that he modified svn, his comment was on  Jan 7 2011 , but the latest commit in svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/translatoid was in 2010... that and installing a new translatoid package plasma must be restarted....

Please test the next package. :/
Comment 8 Dimitrios Glentadakis 2011-03-06 07:58:30 CET
Yes it is ok now thanks very much

It is weird that the author has fixed from September and he did nt announced it :)


* The translations dont come with the rpm, may be the program does nt get it from svn.
Comment 9 Ahmad Samir 2011-03-07 03:48:50 CET
This rpm includes svn head, so any translations should be included (there're none, AFAICS).
D Morgan 2011-03-08 00:59:49 CET

CC: (none) => dmorganec
Assignee: bugsquad => ahmadsamir3891

Comment 11 Ahmad Samir 2011-03-08 04:20:45 CET
But not in the upstream tarball, I don't like the idea of having to chase .po files from l10n-kde4.... 

Upstream should create a new tarball with all the translations/fixes :/
Comment 12 D Morgan 2011-04-24 09:02:15 CEST
what about this bug ?
Comment 13 Dimitrios Glentadakis 2011-04-25 16:53:59 CEST
i asked for the translations to be included on Mars 08 2011 but i did nt get any answer till now. I also checked today but the translations are nt included uin the svn checkout
Comment 14 Dimitrios Glentadakis 2011-04-25 16:55:13 CEST
(In reply to comment #13)
> i asked for the translations to be included on Mars 08 2011 but i did nt get
> any answer till now. I also checked today but the translations are nt included
> uin the svn checkout

I forgot to add the url: http://kde-look.org/content/show.php?content=97511&forumpage=18
Comment 15 D Morgan 2011-04-25 16:57:01 CEST
if i understand correctly, new translations are in the upstream svn but there is no tarballs with them ?


if yes we can patch to add new translations.
Comment 16 Dimitrios Glentadakis 2011-04-25 17:08:12 CEST
Yes, the translations are in the upstream svn but they are not included in the svn checkout of the program.
Ahmad Samir 2011-06-18 22:49:29 CEST

Keywords: NEEDINFO => Triaged
Component: New RPM package request => RPM Packages
Assignee: ahmadsamir3891 => bugsquad
Source RPM: (none) => plasma-applet-translatoid

Comment 17 John Balcaen 2011-06-20 22:18:07 CEST
Maybe it's related to http://lists.kde.org/?l=kde-extra-gear&m=130853712719673&w=2

Regards,

CC: (none) => balcaen.john

Comment 18 John Balcaen 2011-06-20 22:18:56 CEST
Aka upstream does not add more translation is there is less than 65% of translated strings.
Comment 19 Dimitrios Glentadakis 2011-07-03 21:09:43 CEST
i have reported it upstream here :
https://bugs.kde.org/show_bug.cgi?id=272772
Comment 20 Dimitrios Glentadakis 2011-08-16 20:24:20 CEST
It seems that is the responsability of the author.
I asked again here:
http://lists.kde.org/?l=kde-i18n-doc&m=131349267721850&w=2
i did nt get any answere from the author so may be you want to close the report...
Comment 21 Remco Rijnders 2011-08-17 08:49:49 CEST
I feel we should leave this bugreport open. Ideally, upstream would take care of this and respond to your request of March 8th and fix future releases by including the translations in the released tarballs. Failing that (and for now), I think D Morgan's suggestion (comment 15) is worth following and we can patch it on our end. Clearly, this is not ideal, but I believe it would be of value to our users.

It is somewhat ironic that an applet helping users to get translations is not out of the box available in their own language, but such is life I guess.
Samuel Verschelde 2011-10-01 00:46:26 CEST

CC: (none) => stormi
Summary: plasma-applet-translatoid => missing translations in plasma-applet-translatoid (was : package request, plasma-applet-translatoid)

Samuel Verschelde 2011-10-01 00:46:56 CEST

CC: stormi => (none)

Comment 22 Marja Van Waes 2011-12-03 11:39:02 CET
(In reply to comment #21)
> I think D Morgan's suggestion (comment 15) is worth following and we can
> patch it on our end. Clearly, this is not ideal, but I believe it would be of
> value to our users.
> 

cc'ing three packagers who work for doc team,too, and know how important translations are, because one of them might be motivated to fix this

CC: (none) => doktor5000, marja11, oliver.bgr, remco

Comment 23 Oliver Burger 2011-12-03 15:05:48 CET
I'll have a look.
Comment 24 Marja Van Waes 2012-01-25 19:36:25 CET
(In reply to comment #23)
> I'll have a look.

@ Oliver

Did you find time to do that?
Comment 25 Oliver Burger 2012-01-26 08:16:20 CET
Nope, I forgot, since I didn't assign it to me :/

Assignee: bugsquad => oliver.bgr

Comment 26 Dimitrios Glentadakis 2012-02-18 15:19:46 CET
I commited a patch to add the translations.
Oliver, can you check it out if you have any objection ?

I test it localy, it works fine and it adds those translation files:

plasma_applet_translatoid_ca.po           
plasma_applet_translatoid_ca@valencia.po  
plasma_applet_translatoid_cs.po           
plasma_applet_translatoid_da.po           
plasma_applet_translatoid_de.po           
plasma_applet_translatoid_el.po           
plasma_applet_translatoid_en_GB.po        
plasma_applet_translatoid_es.po           
plasma_applet_translatoid_et.po          
plasma_applet_translatoid_fi.po           
plasma_applet_translatoid_fr.po           
plasma_applet_translatoid_km.po
plasma_applet_translatoid_nb.po
plasma_applet_translatoid_nds.po
plasma_applet_translatoid_nl.po
plasma_applet_translatoid_pa.po
plasma_applet_translatoid_pl.po
plasma_applet_translatoid_pt_BR.po
plasma_applet_translatoid_pt.po
plasma_applet_translatoid_ru.po
plasma_applet_translatoid_sv.po
plasma_applet_translatoid_uk.po
Comment 28 Oliver Burger 2012-02-18 17:04:28 CET
I'm gonna review it.
Comment 29 Oliver Burger 2012-03-06 16:07:29 CET
Well, the patch does download things during build time, which is not a good thing because that way we are packaging things, that are not stored in our repositories (binrepo and/or svn).
It would be better to download the files, create a tar ball of them and add that as an additional source to the package.
Comment 30 Dimitrios Glentadakis 2012-03-07 18:43:14 CET
i generated the translations manualy with the script, and the generated /po folder i added it in the tarball. I hope that was the desired way.
http://svnweb.mageia.org/packages?view=revision&revision=221234
Comment 31 Dimitrios Glentadakis 2012-03-08 13:20:25 CET
(In reply to comment #29)
...
> It would be better to download the files, create a tar ball of them and add
> that as an additional source to the package.

I did nt add as additional source (only one tarball for all), it is ok or not ?
Comment 32 Oliver Burger 2012-03-08 13:29:58 CET
We don't change the upstream tar balls, changes/additions to upstream code should be done by adding patches or additional source tar balls.
Look into the "-a" option of the rpm %setup macro.
You will find a lot of literature about it on the net.
Comment 33 Dimitrios Glentadakis 2012-03-12 21:46:22 CET
i added the po/ folder as an additional tarball
i added the script which i generated the po/ folder in the SOURCES/

Localy, it builds without any problem.
Oliver, can you check if is done correctly ?

http://svnweb.mageia.org/packages?view=revision&revision=223074
http://svnweb.mageia.org/packages?view=revision&revision=223073
http://svnweb.mageia.org/packages?view=revision&revision=223072
Comment 34 Oliver Burger 2012-03-13 10:18:40 CET
Pushed to BS, good work.

This bug is opened against council, but it was filed before the Mga1 release. Should those fixes be pushed back to Mga1 as well?
Comment 35 Oliver Burger 2012-03-23 19:49:33 CET
Oups, I meant "Cauldron" not "Council".

Closing as fixed. If fix needed in 1 as well, please reopen.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.