#47142 [Asn]: Russian Documentation

From: Date: Mon, 19 Jan 2009 10:11:41 +0000
Subject: #47142 [Asn]: Russian Documentation
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1733@lists.php.net to get a copy of this message
 ID:               47142
 Updated by:       bjori@php.net
 Reported By:      arhidima at gmail dot com
 Status:           Assigned
 Bug Type:         Documentation problem
 Operating System: Russian Documentation
 PHP Version:      5.2CVS-2009-01-17 (snap)
 Assigned To:      bjori
 New Comment:

Rather then just creating a one-time CHM file, please look into the
core problem so the weekly CHM files will be OK.

To generate the CHM follow these steps (Note: You will need PHP5.3 for
this to work, http://windows.php.net/snapshots/):
cvs -d:pserver:cvsread@cvs.php.net/repository login
(password is phpfi, see http://php.net/anoncvs).
cvs -d:pserver:cvsread@cvs.php.net/repository co phpdoc-ru
cd phpdoc-ru
php configure.php

pear channel-discover doc.php.net
pear install doc.php.net/phd-beta

phd -d .manual.xml -f xhtml -t chmsource --lang ru
hhc.exe chm/php_manual_ru.hhp

Now you should have the generated (broken) CHM file.

To fix it, you will have to edit PhD (which is responsible for the
generation). 
Checkout the (PEAR-install-path)phd/themes/php/chmsource.php

On line#142 you see "ru" => .. I suspect these values have to bee
tweaked in order to fix the core problem.


-Hannes



Previous Comments:
------------------------------------------------------------------------

[2009-01-19 08:46:54] arhidima at gmail dot com

I know about the problem with the search, but it is not disturbed me. 
I laid out here, that would verify whether or not to CHM documentation
for anyone except me :-) 
I will try to correct the defect in the search. 
I'm just the first time compiling CHM file.

------------------------------------------------------------------------

[2009-01-19 08:21:27] bjori@php.net

No.
Encoding problems are not a Windows only issue :)



------------------------------------------------------------------------

[2009-01-19 08:15:02] erema at blew dot ru

Good job, much easier to use, but fulltext search still shows results
in UTF8 ("krakozyabry"). So there are 2 ways: reencode _whole_ russian
html help from UTF8 to WIN1251, or do not use Windows(tm) (i guess,
linux CHM readers are not affected with this encoding problem, am i
right?)

------------------------------------------------------------------------

[2009-01-18 08:35:27] thegobot at gmail dot com

Thank you!

------------------------------------------------------------------------

[2009-01-17 22:33:11] arhidima at gmail dot com

Description:
------------
Sorry, I do not speak in English. 
I use a translator Google. 
Russian documentation in CHM format
(http://www.php.net/get/php_manual_ru.chm/from/a/mirror) has a "pointer"
incorrect coding (see screenshot: http://img178.imageshack.us/img178 /
5410/screennokn9.jpg). 
I corrected and changed CHM file is encoded correctly displayed (see
screenshot http://img178.imageshack.us/img178/6863/screenyespp1.jpg).

I would like, what would you have published an updated version of the
documentation in Russian to PHP in CHM format on the site. 
Corrected version of the file is located here:
http://rapidshare.com/files/185112277/php_manual_ru.chm.html

Reproduce code:
---------------
No

Expected result:
----------------
Cool. 

Actual result:
--------------
Now, documentation in Russian is displayed correctly.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47142&edit=1



Thread (7 messages)

« previous php.doc.bugs (#1733) next »