Re: [libosinfo v3 2/4] Load localized values for entity params

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 24, 2012 at 6:43 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> On Wed, Oct 24, 2012 at 06:39:45PM +0300, Zeeshan Ali (Khattak) wrote:
>> On Wed, Oct 24, 2012 at 5:33 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
>> > If we are looking up the translation from the .mo file, there is no point
>> > in merging translations back into the XML file, this only makes it bigger
>> > (ie slower to download, slower to parse) for no good reason, so I would
>> > make sure that we don't get xml:lang in the xml file. I think gtkbuilder
>> > files look for a 'translatable' attribute on xml nodes.
>>
>> Not sure how that works. Do I need to still generate XML files? How do
>> I tell gettext about this translatable attribute?
>
> Not sure how this works either ;) There should be a way to get intltool to
> extract the strings from the xml to the po file, but not to merge them
> back. Probably better to look more into what GtkBuilder or GSettings do.

I'll do that but from what I've seen/read so far, GtkBuilder/GSetting
probaly has some special support in intltool.

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux