<br><br><div class="gmail_quote">On Fri, Sep 10, 2010 at 8:57 AM, Erik Blankinship <span dir="ltr"><<a href="mailto:erikb@mediamods.com">erikb@mediamods.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am trying to internationalize an activity.<div><br></div><div>The instructions here <a href="http://bit.ly/acg4Hz" target="_blank">http://bit.ly/acg4Hz</a> and <a href="http://wiki.laptop.org/go/Python_i18n" target="_blank">http://wiki.laptop.org/go/Python_i18n</a> explain that I need to run setup.py to generate a .pot file.</div>
<div><br></div><div>The first link suggests my setup.py should read:</div><div><span style="font-family:Arial, sans-serif;font-size:13px;line-height:19px"><pre style="padding-top:1em;padding-right:1em;padding-bottom:1em;padding-left:1em;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-left-style:dashed;border-top-color:rgb(47, 111, 171);border-right-color:rgb(47, 111, 171);border-bottom-color:rgb(47, 111, 171);border-left-color:rgb(47, 111, 171);color:black;background-color:rgb(249, 249, 249);line-height:1.1em">
from sugar.activity import bundlebuilder
bundlebuilder.start()</pre></span></div><div><br></div><div>I need some help with this step... do I need to run setup.py from within the jhbuild shell? Is there a way to do this without jhbuild?</div>
</blockquote></div><br><div>Thanks to alsroot, tomeu and marcopg on irc, it was pointed out that since I had sugar installed with my distro I did not need a special shell.</div><div><br></div><div>I just ran python setup.py genpot</div>
<div><br></div><div>and was all set!</div>