Hi folks,
Finally we succeeded to generate the manual in bulgarian language. The
missing point was to configure it with full path to the PHP source:
./configure --with-lang=bg --with-source=/usr/local/src/php-5.2.0
Otherwise it was always failing to generate the htmls. I don't know why
that's needed, but anyhow... probably it's not a bad idea to mention it
somewhere in the docs:
http://doc.php.net/php/en/dochowto/chapter-makefile.php
Now we're experiencing another problem. It appears that the '&'
(ampersand) sign is converted to '&', and thus the combination of
<, which means '<', becomes &#60;, so all the opening (<?) and
closing (?>) tags and other '<', '>' signs in the documentation examples
are incorrect.
Take a look here: http://php.saparev.com/control-structures.for.html
We also found that it's generated correctly while 'make html' is in
progress, but at the end something alters all the htmls. So, I suppose
one of the two (probably the first one) is messing the things:
/usr/bin/php -q ./scripts/html_syntax.php html html/
/usr/bin/php -q ./scripts/rtlpatch/hackmanuallang.php en
Any ideas how to solve the issue, without commenting/debugging these two
scripts?
P.S.:
Also, the name of our mailing list (phpdoc-bg) on that page:
http://doc.php.net/php/dochowto/chapter-maillist.php
is wrong. The language is not Belgian, but Bulgarian. Thanks. ;)
Best regards,
--
Kouber Saparev
http://kouber.saparev.com