Internationalization of man pages in gnome-help-browser



The gnome-help-browser does not currently support internationalization of
man pages. I have added support so that the help-browser process locale 
languages in a way compatible with the man command.  The following is from
the man man page.

       LANG   If  LANG  is set, its value defines the name of the 
              subdirectory where man first looks for  man  pages. 
              Thus,  the  command  `LANG=dk man 1 foo' will cause 
              man   to   look   for   the   foo   man   page   in 
              .../dk/man1/foo.1,  and  if  it  cannot find such a 
              file, then in .../man1/foo.1, where ... is a direc­ 
              tory on the search path. 

Actually, the man program (man-1.5) first looks for man pages as described
above, but additionnally tries the long form 'dk_XX' before reverting to
the .../man1/foo.1 . I have implemented similar processing for the
gnome-help-browser.  Would you, please, review this small patch.

It can be found at: http://www.dsuper.net/~correa/toc2-man.diff.Z

Thanks.
P.S. If this was found usefull, I would like to be contacted by the
maintainer of this program, I have a few related ideas that I would like
to discuss before investing some more time.
 
-- 
Réal Corriveau



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