From: ferdie f. <mar...@de...> - 2004-08-08 01:04:30
|
hi all, i got some failure-messagages using xgettext. i think because of a wrong version of xgettext. i cannot figure out, which version it is. i'm on a sun solaris system. dunno which version nor anything else, and i cannot change something out of my document root, so i'm stuck here. (i tried some other ways, such like: "xgettext -jn -M_ -m_ -d auto_cc functions.php " but it doesnt work) i checked some other plugins and on the sm wiki-web-pages i found out, to use this to "implement" the translation in a plugin: include_once( SM_PATH . 'functions/i18n.php' ); bindtextdomain( 'auto_cc', SM_PATH . 'plugins/auto_cc/locale' ); textdomain('auto_cc' ); but *where* do i have to copy this, in which file? in all the files? in every function? i dont know. after reading a lot in news.gmane.org/gmane.mail.squirrelmail.internationalization/ i don't know more :-) so my question is: what now? i'd like to translate but i cannot fight all these problems i encounter :-/ thanks a lot, mario xgettext errors: $ xgettext --keyword=3D_ -d auto_cc -s --language=3Dphp *.php xgettext: i= llegal option -- - xgettext: illegal option -- k xgettext: illegal option -- e xgettext: illegal option -- y xgettext: illegal option -- w xgettext: illegal option -- o xgettext: illegal option -- r xgettext: illegal option -- - xgettext: illegal option -- l xgettext: illegal option -- g xgettext: illegal option -- u xgettext: illegal option -- g xgettext: illegal option -- e xgettext: illegal option -- =3D Usage: xgettext [-a [-x exclude-file]] [-jns][-c comment-tag] [-d default-domain] [-m prefix] [-M suffix] [-p pathname] files..= . xgettext -h |