Re: Current status on migration to gettext/po

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

 



On Sun, Aug 10, 2008 at 12:41:32PM +0200, Ulf-D. Ehlert wrote:
> Hi Marco,
> 
> Marco Ciampa (Samstag, 9. August 2008, 23:44):
> > On Wed, Aug 06, 2008 at 05:00:12PM +0200, Roman Joost wrote:
> > > The old 'src' directory is moved into 'oldsrc' and a profiled,
> > > English only version is kept under 'src'. From this sources po/pot
> > > files are created if you run for example:
> > >
> > >     make pot-de
> > >     make po-de
> 
> No, "pot-*" is not a valid target. Just try
> 
> 	make po-de
> 
> which implies "make pot" and will create/update the pot files as well as 
> the po files for "de".
> 
> 	make xml-de
> 
> (implies "make po-de") will create/update localized XML files,
> 
> 	make html-de
> 
> (implies "make xml-de") creates/updates localized HTML files.
>  
> > I'm missing something.
> > I've done the checkout (version same to the trunk - 2525 - right?).
> > Done
> >
> > make pot-it
> 
> Try "make po-it" (see above).
> 
> You may also try to use the "-n" make option (e.g. "make -n html-it") 
> which will just print the commands without executing them.
> 
> Creating a single po file should also work:
> For a given source file, e.g. "src/filters/foo/bar.xml", replace "src/" 
> with "po/it/" and ".src" with ".po", and try
> 
> 	make po/it/filters/foo/bar.po
> 
> Or for making a single localized xml file:
> 
> 	make xml/it/filters/foo/bar.xml
> 
> > in the root (where there is the Makefile).
> > I do not see any special Makefile.
> > Nothing happens.
> 
> ?? You should get an error message:
> 
> 	make: *** No rule to make target `pot-it'.  Stop.
> 
> > What am I doing wrong? 
> 
> Hmm, not enough coffee? ;-)

Thank you.
I have another problem:

make po-it
.
.
.
Creato po/it/glossary/c.po.
pot/glossary/d.pot
po/it/glossary/d.po
Creato po/it/glossary/d.po.
pot/glossary/e.pot
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 855, in <module>
    CurrentXmlMode.preProcessXml(doc,msg)
  File "/usr/share/xml2po/docbook.py", line 146, in preProcessXml
    root = doc.getRootElement()
  File "/var/lib/python-support/python2.5/libxml2.py", line 4158, in
getRootElement
    if ret is None:raise treeError('xmlDocGetRootElement() failed')
libxml2.treeError: xmlDocGetRootElement() failed
po/it/glossary/e.po
msginit: errore durante l'apertura di "pot/glossary/e.pot" in lettura:
Nessun file o directory
make: *** [po/it/glossary/e.po] Error 1

> 
> 
> BTW, does anybody know how to checkout a single file, or how to skip 
> directories when checking out? I have a very slow dial-up connection 
> and don't want to download e.g. 'src/', 'oldsrc/', or 'images/'. Is 
> this possible with subversion?

? 

why not use:
svn co /path/.../file 

?

Am I missing something?

-- 

Marco Ciampa

+--------------------+
| Linux User  #78271 |
| FSFE fellow   #364 |
+--------------------+
_______________________________________________
Gimp-docs mailing list
Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs

[Index of Archives]     [Video For Linux]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [Scanners]     [GEGL]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux