lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Re: International version up to 2.8.1rel.2


From: Webmaster Jim
Subject: Re: lynx-dev Re: International version up to 2.8.1rel.2
Date: Wed, 4 Nov 1998 05:40:29 -0500

On Wed, Nov 04, 1998 at 12:46:23PM +0900, Nelson Henry Eric wrote:
> Downloaded lynx2-8-1-rel2-intl.tar.gz, and tried it.
> 
> Got the following fatal error (SunOS4.1.3):
> 
> cd po && make CC="gcc"
> make: Fatal error in reader: makefile, line 132: Macro assignment on 
> dependency
> line
> Current working directory /home3/nelsonhe/.lynx/lynx2-8-1-rel2-intl/po
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> 
> I removed all the .po and .gmo files in subdirectory /po.  I put in a
> file, ja.po, which starts the process of moving strings from LYMessages
> before I begin the translation task.  You can see the file I used at:
> http://www.irm.nara.kindai.ac.jp/lynxdev/docs/ja.po.bz2.  I set the
> environment variable `setenv LINGUAS "ja"` before running ./configure.
> 
> Couple of questions.
> Can I assume that po/lynx.pot is the complete catalogue up to that date?
> I'd like to go ahead and get the lot translated.  (Let you and Tom get
> it to compile :)
> 
> To make a *.po file for a particular language can I just fill in the
> ``msgstr ""'' between the double quotes?
> 
> What's a "*.gmo" file and how do I make it for the language I want?
> 
> Even though I set LINGUAS, "POFILES and GMOFILES" in po/makefile don't
> seem to have "ja" listed..

Lynx.pot was generated by running:
xgettext -f /j/files.t  -F -j -p po -d lynx

where files.t contains the hopefully complete list of modules containing
any gettext calls. The list is appended below. I've sent lynx.pot to
the Free Translation Project and am waiting for their comments on the
contents and procedures (see http://www.iro.umontreal.ca/contrib/po/).
I have used emacs with `po-mode.el' to edit some of the sample po
files. You can use any method you like, but in order to have a wider
distribution of your translations, I'd like to use the FT Project rules,
which include sending hard copy releases to the GNU project.

The gmo file is the machine specific language object.  The po makefile.in
generates code intended for gcc, which I had to use under Digital UNIX
to build that directory.  Michael T. Smith <address@hidden> told
me this about Solaris:

> I've been fixing CSuite il8n on Solaris for the past few days. The
> display wasn't working because
>
>     1. Solaris has its own gettext built into libc; /usr/lib/libintl
>        has stubs for the functions (isn't required in the link anymore)
>     2. Need to use Solaris msgfmt - /usr/bin/msgfmt - not GNU msgfmt
>     3. Errors in the PO file were causing Solaris msgfmt to create a
>        corrupt message catalog -- needed to use -v to catch these
>
> I've sent you the lynx.po file I'm using (I've just commented out the
> duplicate strings) -- apologies if it's too large for your mailbox. On
> Solaris make sure you run
>
>     msgfmt -v -o lynx.mo lynx.po
>
> then copy lynx.mo into (LOCALEDIR)/fr/LC_MESSAGES/.
>
> I forget where in Lynx LOCALEDIR is defined; we use
> /var/csuite/intl/locale/ but /usr/locale or /usr/local/locale is
> probably the default.

I'm still learning how to set this all up. I had picked a few languages
somewhat randomly at first. Only "fr" has a good sample translation file
currently. "de", "it", "pt", and "sp" have rough translations for the
"lynx -v" message and "it" has a few lines I hand-edited.

*VERY IMPORTANT*
[download, read, sign and snail-mail this to FSF:]
http://www.iro.umontreal.ca/contrib/po/DISCLAIM

[references]
http://www.iro.umontreal.ca/~pinard/
http://www.iro.umontreal.ca/contrib/po/AUTHORS
http://www.iro.umontreal.ca/contrib/po/languages
http://www.iro.umontreal.ca/contrib/po/reply

[files.t]
src/GridText.c
src/HTAlert.c
src/HTFWriter.c
src/HTInit.c
src/HTML.c
src/LYBookmark.c
src/LYCgi.c
src/LYCharUtils.c
src/LYClean.c
src/LYCookie.c
src/LYCurses.c
src/LYDownload.c
src/LYEdit.c
src/LYExtern.c
src/LYForms.c
src/LYGetFile.c
src/LYHistory.c
src/LYJump.c
src/LYKeymap.c
src/LYLeaks.c
src/LYList.c
src/LYLocal.c
src/LYMail.c
src/LYMain.c
src/LYMainLoop.c
src/LYMap.c
src/LYNews.c
src/LYOptions.c
src/LYPrint.c
src/LYReadCFG.c
src/LYSearch.c
src/LYShowInfo.c
src/LYStrings.c
src/LYStyle.c
src/LYTraversal.c
src/LYUpload.c
src/LYUtils.c
src/LYexit.c
src/LYrcFile.c

WWW/Library/Implementation/HTAABrow.c
WWW/Library/Implementation/HTAAProt.c
WWW/Library/Implementation/HTAccess.c
WWW/Library/Implementation/HTFTP.c
WWW/Library/Implementation/HTFWriter.c
WWW/Library/Implementation/HTFinger.c
WWW/Library/Implementation/HTFormat.c
WWW/Library/Implementation/HTGopher.c
WWW/Library/Implementation/HTMIME.c
WWW/Library/Implementation/HTNews.c
WWW/Library/Implementation/HTRules.c
WWW/Library/Implementation/HTStyle.c
WWW/Library/Implementation/HTTCP.c
WWW/Library/Implementation/HTTP.c
WWW/Library/Implementation/HTVMSUtils.c
WWW/Library/Implementation/HTWAIS.c
WWW/Library/Implementation/HTWSRC.c

++++++++++++++++++++++++++++
Marvin the Paranoid Android.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]