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 <gonz...@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 <dwnarv...@gmail.com>wrote:
>
>> Weird, not seeing that here.
>>
>>
>> On 3 June 2013 22:19, Gonzalo Odiard <gonz...@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 <dwnarv...@gmail.com>wrote:
>>>
>>>> On 3 June 2013 21:53, Gonzalo Odiard <gonz...@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
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to