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

Re: Howto add new translations?



On Tue, May 23, 2006 at 06:03:09AM -0700, Matt Kraai wrote:
> On Tue, May 23, 2006 at 08:57:07AM +0200, Jens Seidel wrote:
> > On Mon, May 22, 2006 at 07:33:27PM -0700, Matt Kraai wrote:
> > > On Mon, May 22, 2006 at 10:25:12PM +0200, Jens Seidel wrote:
> > > > Matt, can you please extract http://people.freenet.de/jese/debian-faq.uk.tgz
> > > > in ddp/manuals.sgml/faq/uk/ on www-master? Please ensure that the owner
> > > > and permissions match the files created by the build system.
> > > > This should be the easiest solution until an updated debiandoc-sgml
> > > > package is available.
> > > > Same for apt-howto.uk.tgz.
> > > 
> > > Done.
> > 
> > Thanks, but it seems the timestamps of the files got updated during "tar xzf"
> > so that the Makefile tries to build apt-howto again but fails
> > (http://klecker.debian.org/build-logs/ddp/make.log).
> > 
> > Can you please do it again and touch all extracted files?
> 
> Done.

Matt, I'm sorry that I need to contact you again, but the build scripts seem
to be very fragile and you are one of the rare person with access to the host:

install -p -m 644 apt-howto*.html/*.html /org/www.debian.org/www/doc/manuals/apt-howto/
install: will not overwrite just-created `/org/www.debian.org/www/doc/manuals/apt-howto/ch-helpers.en-us.iso-8859-1.html' with `apt-howto.pt-br.html/ch-helpers.en-us.iso-8859-1.html'
...

The problem is that more than one file ch-helpers.en-us.iso-8859-1.html
exists. One can be found in apt-howto.el.html/ since Greek is not yet supported
and en-us.iso-8859-1 is used as fallback. But why exist other en-us.iso-8859-1
files such as for pt-br? I really cannot explain this (did you use a non GNU
make or an exotic shell?). These should be deleted.

Ah, probably 
echo $$lang | tr 'A-Z_' 'a-z-'
echo $$lang | perl -pe 's/(\w\w)-(\w\w)/"$$1_".uc($$2)/e'
failed in the Makefile (should create pt-br and pt_BR).

Matt, can you try
echo pt-br | tr 'A-Z_' 'a-z-'
echo pt-br | perl -pe 's/(\w\w)-(\w\w)/"$1_".uc($2)/e'

Now I see that manuals.sgml/faq/Makefile is locally modified. Why? What does
cvs diff -u show?

Maybe it's a good idea to delete the working copy completely and restart?
At least you should delete apt-howto.pt_BR.html/ and apt-howto.pt-br.html/.
One needs to decide what kind of locale style should be used, even thought
pt-br seems currently the prefered style.

Jens



Reply to: