Hello *,

my girlfriend and me have translated my whole Workstation into de, fr,
tr, ar and fa but it was a nightmare, because 'gettext' was not able to
find the $[gt.XXX] strings...

Since I have to translate several Desktops (around 60) I want to know,
whether someone has written a tool which find the $[gt.XXX] strings and
create the "fvwm.pot" file

OK, I have done it allready with a BASH script, but it is tooooooo slow
and the functions are limited...

Only my Workstation has already 280 Strings... (my Develstation
is a nightmare, even if I have allready all i18n.)

if someone is interested in my BSH-Script please let me know.
(I have currently no possibility for uploads.

Short desription:

1)  Message strings must be

        $[gt.Some text to translate]

    (see desription 'man fvwm2' => LocalePath)

2)  Output is always "fvwm.pot" in the director where it was started
    (overrides previously versions)

3)  To read ONE file use

        tdgettext-fvwm -r -i <file>

4)  To read all files in the current directory

        tdgettext-fvwm -r -i '*'

5)  Now rename it from "fvwm.pot" to "fvwm.po" and translate it

6)  With the command tdgettext-fvwm -c' it will compile it to "fvwm.mo"

7)  Copy the file to $HOME/locale/CC/LC_MESSAGES/fvwm.mo where CC is
    the country code of your translated fvwm.po

8)  Put in your ~/.fvwm/config following line:

            LocalePath $HOME/locale/:+

9)  Restart and enjoy an internationalized and localized fvwm DeskTop.

Note 1: I like to see some people which test this script, because
        I want to improve it, but first it must work perfectly.

Note 2: Currently I am rereading the WHOLE bunch of Fvwm manpages
        since I have forgotten many options (and some are added
        since 2.4) and the manpages are better then the newspapers...
        
        Hey, I have found many spelling errors. Where can I report them?

Greetings
    Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)


Reply via email to