Subject: translating pine menus

From: will kemp <[email-masked]>
Date: Sat, 8 Jul 2000 18:49:18 +1000 (EST)

hi!

can anyone point me towards documentation about translating pine menus and
help files etc into another language? i've groped around various pine web
sites and looked through docs in the source (pine 4.21), but haven't found
anything. 

i've found some places in the source code where menu strings seem to be
defined, but was really hoping for some kind of comprehensive guide to
where it all is and the best way to go about it. i assume someone has done
this sort of thing before and i'd rather use their documentation on it
than spend lots of time groping around till i've found everything that
needs translating. 

i'm not really a c programmer (used to be an assembler programmer years
ago and have done some perl, bash etc) but i think i can handle the
minimal programming involved in changing menus etc. i'm involved in a
(voluntary) project to set up free email services in east timor and would
like to be able to convert pine for use by people who speak only tetum
(the main language of e.timor). 

i'm just at early stages with thinking about this and any help would be
appreciated.

thanks
will kemp
darwin, australia

---   ---   ---   ---   ---   ---   ---   ---   ---   ---   ---   ---
    
                   Industrial Workers of the World
                        Australian home page:
                        http://www.iww.org.au
                    Abolition of the wage system!

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

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Jacob Morzinski <[email-masked]>
Date: Mon, 10 Jul 2000 16:59:51 -0400

> help files etc into another language? i've groped around various pine web
[...]
> minimal programming involved in changing menus etc. i'm involved in a

The text strings are not centralized in any location.
Many of them are in pine.h, but other files have spot code that
define or use new bits of text.

A few places to get you started (I've made no attempt to find everything):
 pine/pine.h, near line 1883, starts to define text strings
 pine/addrbook.c, near line 2683, hardcodes text strings
 pine/mailview.c, near line 162, begins to define more text strings

In general, I believe that you'll have to examine each and every
file of the pine (and pico, and perhaps even imap/c-client as well)
source, and change the strings where you find them.

 -Jacob Morzinski