Hey Hendrik, <div><br></div><div>I send this mail to the list again, it may be interesting for more translators. </div><div><br></div><div>At this moment it isn't possible through the web interface. But with some changes it should be possible. Maybe I'll make a second version in the future. I can't just change the code, because it'll break current (wanted) functionality. So I think of some adding optional features or a second page to get a list as you requested. </div>
<div><br></div><div>However, for the moment I know a cumbersome work around. if you checkout the code[1], you can run the tool from the commandline with: ./getstatus.py URL_TO_WIKI</div><div><br></div><div>What you can do is make a wiki page which contains the Launchpad URL you need. Then you do </div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div>./getstatus.py URL_TO_WIKI | grep gnome</div><div>to get the gnome packages only. </div><div>The Gnome packages are divided over several "pages" if I look here [2]. What you can do is make a wiki page for each Launchpad URL, and then make a bash script which runs the Tool for each wiki page and store it in 1 file. I've made an example for the first page on Launchpad here [3]. </div>
<div><br></div><div>Now I realize that the intended functionality is to let fully translated packages disappear from the list. If you want to get all packages you need to make a slight change in tranlationstatus_soup.py: </div>
<div>PRINT_FINISHED_TRANSLATIONS = False <- Change False into True</div><div><span id="result_box" class="short_text" lang="en"><span title="Click for alternate translations" class="hps"><br></span></span></div><div><span id="result_box" class="short_text" lang="en"><span title="Click for alternate translations" class="hps">I hope you didnt't bogged down in all these details. </span></span></div>
<div><br></div><div>[1] - <a href="https://code.launchpad.net/ul10n-wiki-stats">https://code.launchpad.net/ul10n-wiki-stats</a><br>[2] - <a href="https://translations.launchpad.net/ubuntu/natty/+lang/nl/+index?batch=300">https://translations.launchpad.net/ubuntu/natty/+lang/nl/+index?batch=300</a></div>
<div>[3] - <a href="http://wiki.ubuntu-nl.org/Rachid/TranslationTool/Gnome">http://wiki.ubuntu-nl.org/Rachid/TranslationTool/Gnome</a></div><div><br></div><div>Cheers,</div><div>Rachid. </div><div><br></div><div>ps, I just did this to make the example wiki page: </div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div>./getstatus.py <a href="http://wiki.ubuntu-nl.org/Rachid/TranslationTool/Gnome">http://wiki.ubuntu-nl.org/Rachid/TranslationTool/Gnome</a> | grep gnome</div>
<div><br></div><div><br></div><div><br><div class="gmail_quote">On Thu, Apr 21, 2011 at 4:22 PM, Hendrik Knackstedt <span dir="ltr"><<a href="mailto:hendrik.knackstedt@t-online.de">hendrik.knackstedt@t-online.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Well, I want to create a list only for certain packages. For example a list of all Gnome-packages. So I need to retrieve the status of all these packages from Launchpad.<br>
<br>I'd be a lot of work to update the status manually, so I thought maybe I could use your tool to read only the status of Gnome-packages from the overview pages and not all of them.<br>
<br>Maybe you could adapt your tool that if you create a wiki page that contains package names, the tool only fetches the status of those packages from the Launchpad overview pages?<br><br>Respectfully,<br><font color="#888888">Hendrik</font><div>
<div></div><div class="h5"><br><br>
<div class="gmail_quote">2011/4/21 Rachid <span dir="ltr"><<a href="mailto:rachidbm@gmail.com" target="_blank">rachidbm@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey Hendrik, <div><br></div><div>The tool is built for use of overview pages like this: <a href="https://translations.launchpad.net/ubuntu/natty/+lang/nl/?batch=300" target="_blank">https://translations.launchpad.net/ubuntu/natty/+lang/nl/?batch=300</a></div>
<div>It will read the underlying HTML of this page to generate the status. If you can find a page (URL) on Launchpad which gives you the status of gnome-control-center in the same representation, the tool can be used. I just took a quick look into this, but couldn't find such an URL. </div>
<div><br></div><div>So I think it's not possible what you exactly want. Though with some small changes it should be possible. But again, the goal of the tool is to read a big list of packages, en let translators reserve them. </div>
<div>What is your goal by checking the status of a particular package? Why not looking on: <a href="https://translations.launchpad.net/ubuntu/natty/+source/gnome-control-center" target="_blank">https://translations.launchpad.net/ubuntu/natty/+source/gnome-control-center</a> instead?</div>
<div><br></div><div>Regards,</div><div>Rachid. </div><div><div></div><div><div><br></div><div><br><div class="gmail_quote">On Thu, Apr 21, 2011 at 2:51 PM, Hendrik Knackstedt <span dir="ltr"><<a href="mailto:hendrik.knackstedt@t-online.de" target="_blank">hendrik.knackstedt@t-online.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Rachid!<br><br>I like your tool but I've got a question:<br><br>Is it possible to retrieve status only for specific packages?<br>
<br>Let's say I only want to retrieve the status of gnome-control-center. Is that possible somehow?<br>
<br>Thanks for you help!<br><font color="#888888"><br>Hendrik</font><div><div></div><div><br><br><div class="gmail_quote">2011/3/26 Rachid <span dir="ltr"><<a href="mailto:rachidbm@gmail.com" target="_blank">rachidbm@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, <div><br><div>The tool is initially build for <a href="http://wiki.ubuntu-nl.org" target="_blank">wiki.ubuntu-nl.org</a> and <a href="http://wiki.ubuntu.com" target="_blank">wiki.ubuntu.com</a> which are moinmoin. I see that mediawiki[1] uses another markup for tables than moinmoin[2], so it doesn't support mediawiki at the moment. </div>
<div><br></div><div>If there's a strong need I could look into extending the tool with support for mediawiki. Also anybody is free to get the code from Launchpad and make changes themselves. Please contact me if you want to commit your changes though. </div>
<div><br></div><div>[1] - <a href="http://www.mediawiki.org/wiki/Help:Tables" target="_blank">http://www.mediawiki.org/wiki/Help:Tables</a></div><div>[2] - <a href="http://moinmo.in/HelpOnTables" target="_blank">http://moinmo.in/HelpOnTables</a></div>
<div><br></div><div>Cheers,</div><div>Rachid. <br><br></div><div><br><div class="gmail_quote">On Sat, Mar 26, 2011 at 9:51 AM, Ddorda <span dir="ltr"><<a href="mailto:Ddorda@ubuntu.com" target="_blank">Ddorda@ubuntu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey there,<br>I wonder, is it an mediawiki or moinmoin system?<br><br>Regards,<br>Ddorda.<br><br><div class="gmail_quote">
<div><div></div><div>2011/3/22 Rachid <span dir="ltr"><<a href="mailto:rachidbm@gmail.com" target="_blank">rachidbm@gmail.com</a>></span><br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div><div>Hi translators, </div><div><br></div><div>Last weeks I've been working on a tool to generate wiki (status) pages
based on launchpad translations. We use it now for the Dutch Translators Team on our wiki: <a href="http://wiki.ubuntu-nl.org/community/Vertaalteam/Status#Natty" target="_blank">http://wiki.ubuntu-nl.org/community/Vertaalteam/Status#Natty</a></div>
<div><br></div><div>Feel free to experiment with it. This tool is developed with the workflow of the Dutch Team in mind. So if you have new ideas or suggestions fee free to contact me, or make a blueprint in Launchpad. </div>
<div>I hope this can be useful to your team. </div><div><br></div><div>The web application and more info can be found on <a rel="nofollow" href="http://rachidbm.appspot.com/" target="_blank">http://rachidbm.appspot.com/</a></div>
<div>The project in Launchpad: <a href="https://launchpad.net/ul10n-wiki-stats" target="_blank">https://launchpad.net/ul10n-wiki-stats</a></div>
<div><br></div><div>Regards,</div><div>Rachid. </div><font color="#888888"><div>Dutch Translators Team. </div><div><a href="https://launchpad.net/%7Erachidbm" target="_blank">https://launchpad.net/~rachidbm</a></div>
</font><br></div></div>--<br>
ubuntu-translators mailing list<br>
<a href="mailto:ubuntu-translators@lists.ubuntu.com" target="_blank">ubuntu-translators@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div>
<br>--<br>
ubuntu-translators mailing list<br>
<a href="mailto:ubuntu-translators@lists.ubuntu.com" target="_blank">ubuntu-translators@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div>