On 09/18/2010 04:01 PM, Gary Martin wrote:
> On 18 Sep 2010, at 10:52, "[email protected]"<[email protected]> wrote:
>
>> On Fri, Sep 17, 2010 at 9:57 PM, Gary C Martin
>> <[email protected]> wrote:
>>> Hi Folks,
>>>
>>> Just wanted to email this ticket out and make sure the gettext package
>>> makes it into the Soas and Dextrose distros. Without it none of the
>>> activity po files will be built at bundle install time, thus failing to
>>> create the locale directory binary .mo files. Without this, activity
>>> translations will not work. This appears to be a break going back to at
>>> least Soas Mirabelle.
>>
>> Yep, it was dropped in Mirabelle because it pulled in horrific
>> dependencies and when I asked about it I was told it was historical
>> and that all the Activities should be pre-generating the translations
>> and that they shouldn't generated on local install.
>
> Ouch, that is news to me, no wonder activity localization is broken. Can you
> point me to the thread/ticket/wiki with that discussion? Including the binary
> .mo locale files in the source and/or .xo bundles is, to the best of my
> knowledge, not the usual workflow for activity releases.
When you use the sugar tools it should just work fine:
"./setup.py dist_source" will create a tarball with just the *.po files.
"./setup.py dist_xo" will create the bundle with a locales folder that
contains the .mo for the activity.
Or do I miss something?
Regards,
Simon
_______________________________________________
SoaS mailing list
[email protected]
http://lists.sugarlabs.org/listinfo/soas