[SOLVED] Translation process broken in CVS?

stephenju
stephenju's picture

Joined: 2005-07-05
Posts: 172
Posted: Sun, 2005-07-17 15:07

I just updated to the lates CVS and find I can't create new messages.po according to the translation process at
http//gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pagename=G2%20-%20Dev%20-%20LOCALIZATION

For example, go to themes/slider/po and enter 'gmake message.po' and I get
usage dirname path
/bin/sh line 1 messages.po No such file or directory
gnumake *** [messages.po] Error 1

and then I find out strings.raw is corrupted in the process.

Is this a known bug?

 
stephenju
stephenju's picture

Joined: 2005-07-05
Posts: 172
Posted: Sun, 2005-07-17 15:24

Never mind. I think I broke something in my CVS. Reload the whole thing fixed it.

 
stephenju
stephenju's picture

Joined: 2005-07-05
Posts: 172
Posted: Sun, 2005-07-17 15:45

BTW. In the step 5. MAINTAINING A LOCALIZATION, it doesn't rescan for the messages if messages.po is already there. I need to manually delete the file to get a updated one.

 
stephenju
stephenju's picture

Joined: 2005-07-05
Posts: 172
Posted: Fri, 2005-07-22 15:26

OK. I just downloaded the new beta 4 to my local OS X machine. When I try to update my localization by typing 'gnumake zh_TW.po' in one of the po directories, I get this message:

msgmerge: unrecognized option `--update'
Try `msgmerge --help' for more information.
gnumake: [zh_TW.po] Error 1 (ignored)

Any idea?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2005-07-22 16:15

stephenju,

which version of gettext is installed on your machine ?

type: msgmerge -V

regards,

Jens

 
stephenju
stephenju's picture

Joined: 2005-07-05
Posts: 172
Posted: Fri, 2005-07-22 16:29
msgmerge (GNU gettext) 0.10.40
Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Peter Miller.

Is this the wrong version to use? I've been using it with beta 3.

 
stephenju
stephenju's picture

Joined: 2005-07-05
Posts: 172
Posted: Fri, 2005-07-22 17:02

BTW. I can do 'gnumake install'. Just can't update my po files.