Re: Translation
| From: | Steph | Date: | Tue, 07 May 2002 15:04:09 +0000 |
| Subject: | Re: Translation | ||
| References: | 1 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-529@lists.php.net to get a copy of this message | ||
Haroldo -
OK, you'll need to check stuff out of CVS to do any writing at all, if you have a nix box you
should be able to do that with no problem at all, if you're using win32 you'll need to
install cygwin so that you can build the manual (see below). Please make sure your version is up to
date (i.e. start from scratch) before you do any work.
You do this exactly the same as you install PHP from CVS,
http://www.php.net/anoncvs.php
except that you need to co the php-gtk-doc/ directory (at least, php-gtk-doc/en and
php-gtk-doc/pt-br). For the moment you will need to use anonymous CVS access (i.e. you can't
actually commit anything), to get a CVS account of your own you will need to apply for one through
http://www.php.net/cvs-php.php which might be granted
straight off or may take a week or two if you're unlucky. Pablo will probably want to see your
first attempt before he lets you commit anything anyway, won't you Pablo? :)
The documentation's written in XML, which is less scary than you'd think as the
structure's already there in the en docs. XML is whitespace-sensitive, so you will need to use
spaces rather than tabs throughout and pay attention to the indentation. vi is good for this
apparently (I know nothing, I'm on win32 ;)
Correct me if I'm wrong somebody, but I believe you copy the document you wish to translate
into the pt-br folder from the en folder and then just translate it.
Please check that the document is ready to be translated before you do this, there is a list of
items on the translations page at http://dampfish.manucorp.com that are considered complete
unless something bad happens. If it's not on that list, don't translate it, it's not
finished in the English version even if some of it's been filled in.
You need to build a copy of the pt-br manual before committing it back into CVS, it's very easy
to miss a tag or something and then the whole thing will break online... you will need to have
xsltproc installed to do this, and also the stylesheets available at http://www.phpuk.org/~james/gtkss.zip (unpack to
the manual stylesheets dir).
autoconf
./configure --with-lang=pt-br
make bigmanual.html
Online documentation is rebuilt weekly in the case of translations, when an update has been made to
that translation during that week. I believe Sunday is the update day.
Hope that all makes sense, write back to this list if you have any problems, you won't be the
first :)
- Steph
----- Original Message -----
From: "Haroldo Lage" <haroldo@dcc.ufmg.br>
To: "Steph" <sfox@php.net>
Cc: <php-gtk-doc@lists.php.net>
Sent: Tuesday, May 07, 2002 3:30 PM
Subject: Re: [PHP-GTK-DOC] Translation
>
> :Hello Haroldo,
>
> Hello Steph,
>
> :Thanks :)
> :
> :First things first: which operating system are you running?
>
> Sure,
>
> At home I use Windows 98 for mostly games (Star Craft) and Linux
> (Conectiva 6.0 but I'm trying to change to LinuxFromScratch)
> At work I use Windows NT/98/95 and at college I use MacOS9, Unix, Linux
> and Windows NT
>
> Every Operating System mencioned above, I know 'How to use it' but I
> develop under Linux/Unix and Windows OS (With a special concern about
> compatibility among them).
>
> :
> :- Steph
> :
>
>
> --
> PHP-GTK Documentation Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>