[Sugar-devel] Issue building Jukebox in sugar-build

Gonzalo Odiard gonzalo at laptop.org
Tue Jun 4 07:58:50 EDT 2013


Done


On Mon, Jun 3, 2013 at 6:02 PM, Daniel Narvaez <dwnarvaez at gmail.com> wrote:

> I don't think this could solve Lionel issue (and I can still reproduce it
> with the patch applied). I don't have time to look into the other issue
> right now, please submit a pull request.
>
>
> On 3 June 2013 22:48, Gonzalo Odiard <gonzalo at laptop.org> wrote:
>
>> I found the issue:
>>
>> We was using a translated (to the developer locale) value to search in
>> gettext.
>> That is the reason I see all in Spanish, you see ok ("en" can found the
>> translations), and Lionel have issues we don't see.
>> Attached is a patch to solve the issue. If is ok for you, please push in
>> github or where is needed.
>> I am not sure if this fix should be on 0.98 branch or not.
>>
>> Gonzalo
>>
>>
>> On Mon, Jun 3, 2013 at 5:22 PM, Daniel Narvaez <dwnarvaez at gmail.com>wrote:
>>
>>> Weird, not seeing that here.
>>>
>>>
>>> On 3 June 2013 22:19, Gonzalo Odiard <gonzalo at laptop.org> wrote:
>>>
>>>> I found something strange:
>>>>
>>>> If I do: "cat locale/*/activity.linfo", can see the activity name
>>>> translated for every language,
>>>> but the summary translated to "es" in every file.
>>>> I am trying to see what is the problem.
>>>>
>>>> Gonzalo
>>>>
>>>>
>>>> On Mon, Jun 3, 2013 at 5:05 PM, Daniel Narvaez <dwnarvaez at gmail.com>wrote:
>>>>
>>>>> On 3 June 2013 21:53, Gonzalo Odiard <gonzalo at laptop.org> wrote:
>>>>>
>>>>>> I tried again with the last translations from pootle and "setup.py
>>>>>> dist_xo" does not give me errors.
>>>>>>
>>>>>>
>>>>> Unless you LANG=fr_FR.utf8 you won't be able to reproduce. It also
>>>>> happens only the second time you run it, when .linfo has been generated.
>>>>>
>>>>>
>>>>>> Of course, I don't use LANG=fr but es_AR.utf8
>>>>>>
>>>>>> I don't see how LANG can be related to this problem,
>>>>>> when create a activity, all the languages are processed, right?
>>>>>>
>>>>>
>>>>> bundlebuilder uses ActivityBundle which also used for UI stuff and
>>>>> hence parses the linfo for the current locale.
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Daniel Narvaez
>>>
>>
>>
>
>
> --
> Daniel Narvaez
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130604/a5cdad8a/attachment-0001.html>


More information about the Sugar-devel mailing list