Re: [Gimp-docs] weird translation missing

2010-04-09 Thread Ulf-D. Ehlert
Marco Ciampa (Thursday, 08. April 2010)
 Done:
 
 touch  src/tutorial/quickies.xml
 make html-it
 
 It doesn't work.

(Oh, we are not talking about
http://docs.gimp.org/2.6/it/gimp-tutorial-quickie-flip.html?!)

Did make html-it update the appropriate files:
[POT] pot/tutorial.pot
[PO]  po/it/tutorial.po
[XML] xml/it/tutorial/xml
...

I tried to build HTML from a git archive:

$  git archive --prefix=gimp-help-2/ master | tar -xvf- -C /tmp
$  cd /tmp/gimp-help-2
$  ./autogen.sh --without-gimp
$  make html-{en,de,it,ja,...}

with this result:

- html/it/gimp-tutorial-quickie-flip.html : translated
  (except first para)

- html/ja/gimp-painting.html: translated

so it looks that it should work but things are messed up somehow 
(wrong timestamps, xml2po versions mix, or whatever).

Let's try brute force:

# if you are curious:
$  cp -a pot pot.backup
$  cp -a po/it po/it.backup
$  cp -a xml/it xml/it.backup

$  rm -rf pot
$  make pot
$  find pot/ -name '*.pot' | xargs touch
$  make po-it
$  make xml-it
$  make html-it

# if you are curious:
$  diff -ur pot.backup/ pot/
$  diff -ur po/it.backup/ po/it/
$  diff -ur xml/it.backup/ xml/it/
# (tip: install colordiff from http://colordiff.sourceforge.net/
# and run diff -ur ... | colordiff)

$  rm -rf pot.backup po/it.backup xml/it.backup

(RyōTa, you may want to try it with ja instead of it).

I hope this will solve your problems. (Otherwise I'll have to emigrate 
to Australia too...)

Ulf




signature.asc
Description: This is a digitally signed message part.
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] weird translation missing

2010-04-08 Thread Ulf-D. Ehlert
Marco Ciampa (Wednesday, 07. April 2010)
 Hello everybody,
 I found that this page:
 
 http://docs.gimp.org/2.6/it/gimp-tutorial-quickie-flip.html
 
 is untranslated in the html output. This is weird since the doc is
  valid and the translation is _not_ missing in the .po file:
  tutorial.po
 
 What is goning on?

Maybe it's just dated?

Ulf


signature.asc
Description: This is a digitally signed message part.
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] weird translation missing

2010-04-08 Thread Marco Ciampa
On Thu, Apr 08, 2010 at 10:13:13PM +0200, Kolbjørn Stuestøl wrote:
 Ulf-D. Ehlert skreiv:
  Marco Ciampa (Wednesday, 07. April 2010)

  Hello everybody,
  I found that this page:
 
  http://docs.gimp.org/2.6/it/gimp-tutorial-quickie-flip.html
 
  is untranslated in the html output. This is weird since the doc is
   valid and the translation is _not_ missing in the .po file:
   tutorial.po
 
  What is goning on?
  
 
  Maybe it's just dated?
 
  Ulf

 I had a similar problem a while ago and got this answer from Ulf:
 
  Maybe your po file is created with a different xml2po program than 
  your pot file, and this led to slightly different translations 
  (with/without placeholder). 
 
  Then you should touch the relevant src files and re-make the po files.
 
 It solved my problem.
  
 (If you are using Cygwin, the docbook-xsl installed by default is 
 outdated. Install a newer version, i.e. v. 1.75.x).
 Kolbjoern
Done:

touch  src/tutorial/quickies.xml
make html-it

It doesn't work.

PS: I have ubuntu 9.10...

-- 


Marco Ciampa

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