[GRASS-dev] encoding of manual pages

Jachym Cepicky jachym.cepicky at centrum.cz
Mon Aug 28 05:53:46 EDT 2006


hallo,
On Sun, Aug 27, 2006 at 01:07:17PM +0100, Glynn Clements wrote:
> Generate English manual pages. All of the description.html files are
> in English; it's only the portions which are auto-generated via
> --html-description which will be localised.
> 
> This should be sufficient:
> 
> 	diff -u -r1.9 include/Make/Html.make
> 	--- include/Make/Html.make	2 Jul 2006 20:28:59 -0000	1.9
> 	+++ include/Make/Html.make	27 Aug 2006 11:57:37 -0000
> 	@@ -92,7 +92,7 @@
> 	 	GISBASE=$(GISBASE) \
> 	 	PATH=$(GISBASE)/bin:$$PATH \
> 	 	$(LD_LIBRARY_PATH_VAR)="$(GISBASE)/lib:$($(LD_LIBRARY_PATH_VAR))" \
> 	-	$(1) --html-description | grep -v '</body>\|</html>' > $(PGM).tmp.html ; true
> 	+	LC_ALL=C $(1) --html-description | grep -v '</body>\|</html>' > $(PGM).tmp.html ; true
> 	 
> 	 # html rules for cmd commands
> 	 htmlcmd: htmlcmd1 htmlgen

+1 

IMHO the HTML documentation should be english, because of the
translation of help messages does not necessary be right. 

could anybody fix this in cvs? I do not have access.


> 
> Alternatively, the build process could just generate an error if any
> of the locale variables (LC_ALL, LC_*, LANG) are set (to something
> other than "C" or "POSIX"). This would also eliminate the issue of
> people including localised error messages when they report compilation
> problems.
> 

jachym
-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------   
OFFICE:                                     
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky at gdf-hannover.de
URL:    http://gdf-hannover.de
Tel.:   +49 511-39088507
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20060828/1592fff9/attachment.bin


More information about the grass-dev mailing list