Re: Translation of preferences contents

David Malcolm <[email protected]>
Newsgroups gmane.editors.conglomerate.devel
Message-ID <[email protected]>
On Thu, 2004-10-14 at 23:34 +0200, Michèle Garoche wrote:
> Le 14 oct. 2004, à 23:23, David Malcolm a écrit :
> 
> > On Thu, 2004-10-14 at 22:59 +0200, Michèle Garoche wrote:
> >> Le 14 oct. 2004, à 20:08, David Malcolm a écrit :
> >>
> >>> On Thu, 2004-10-14 at 11:14 +0200, Michèle Garoche wrote:
> >>>> Would it be possible to add to potfiles.in whichever file gets the
> >>>> contents of preferences panel (document types)?
> >>>
> >>> The list of document types is autogenerated based on the xds files 
> >>> (in
> >>> particular, it uses the <metadata> element near the top of each one).
> >>> So if these are translated (with an xds.in), the panel should get
> >>> translated.
> >> There are xds.in files, though not for all xds files, they are listed
> >> also in the potfiles.in, but the related strings don't show up in the
> >> po files, hence no translation.
> > So arguably, every xds file should have a corresponding xds.in file.
> > Would this be excessive?  I didn't want to create a huge translation
> > burden.
> No, that's not that huge. Or did you mean if not all xds file have a 
> corresponding xds.in file the translation process does not occur?
The idea is that each .xds.in file should be translated, allowing a
corresponding .xds file to be created.

Currently some of the xds files come from xds.in files; others are
simply untranslated.  

So I suppose that all of them should come .xds.in files...

> 
> >> There must be something different in the treatment of the list of
> >> document types (first tab in the preferences window) and the list of
> >> plugins (second tab in the preferences window).
> >
> > The plugin names are in the source code, in the various src/plugin-*.c
> > files, which _are_ marked for translation.
> Yes, those are translated. What is not translated in the first part, 
> the document types (i.e. metadata at the top of the files). And 
> actually I did not see a c file where they appear, I may have missed 
> something though.
The ones that come from a .xds.in should be translated, in particular
the DocBook one.  So it looks like there's a problem with this process
somewhere.

> 
> Here's a screenshot (Conglomerate Preferences) so that you'll 
> understand what I mean (I speak about the list of names (Nom into 
> French) and Description in first tab (Document types aka Types de 
> document):
> 
> The contents of the second tab Plugins not shown here is translated.
OK - thanks.

> 
> Michèle
> <http://micmacfr.homeunix.org>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.