Al 21/03/12 14:38, En/na Sergio Zanchetta ha escrit:
> 2012/3/21 David Planella <email address hidden>:
>>> Anyway it seems that number of translated strings in mo and launchpad
>>> doesn't match, but I need to analyze it deeper.
>>>
>>
>> I believe they should, as if they are shipped, they probably come from
>> Launchpad, but let us know about the outcome of your research.
>
> Yes, they do match, I've looked at the wrong package. ;-)
>
>
>>> Yes, they are present (6 out of 7, gas is not because no string is
>>> translated in LP I think)
>>>
>>
>> That points to the translations being shipped correctly in language
>> packs, but them not being loaded. Perhaps the translation domain is not
>> being set correctly?
>>
>
> Could be, where should I look for this kind of files?
>
You could use 'strace <program>' to see the open() syscalls. There you
can see which .mo files are being opened (or trying to be) whenever the
<program> is executed.
E.g. looking at gold, from binutils, which is mentioned in the bug:
strace man 2>&1 | grep open
Seems that it's not even trying to load any .mo files. Perhaps an
upstream bug?
Al 21/03/12 14:38, En/na Sergio Zanchetta ha escrit:
> 2012/3/21 David Planella <email address hidden>:
>>> Anyway it seems that number of translated strings in mo and launchpad
>>> doesn't match, but I need to analyze it deeper.
>>>
>>
>> I believe they should, as if they are shipped, they probably come from
>> Launchpad, but let us know about the outcome of your research.
>
> Yes, they do match, I've looked at the wrong package. ;-)
>
>
>>> Yes, they are present (6 out of 7, gas is not because no string is
>>> translated in LP I think)
>>>
>>
>> That points to the translations being shipped correctly in language
>> packs, but them not being loaded. Perhaps the translation domain is not
>> being set correctly?
>>
>
> Could be, where should I look for this kind of files?
>
You could use 'strace <program>' to see the open() syscalls. There you
can see which .mo files are being opened (or trying to be) whenever the
<program> is executed.
E.g. looking at gold, from binutils, which is mentioned in the bug:
strace man 2>&1 | grep open
Seems that it's not even trying to load any .mo files. Perhaps an
upstream bug?
-- la.wordpress. com ca/dplanella / www.twitter. com/dplanella
David Planella
Ubuntu Translations Coordinator
www.ubuntu.com / www.davidplanel
www.identi.