From: Felix B. <bf...@gm...> - 2007-04-25 14:54:20
|
Hi, > Is there an IRC channel somewhere? For xnap-commons and gettext-commons there is no IRC channel. > I just tried to create the files according to the tutorial. But there is > something wrong: > > # create German ResourceBundle class file in app.i18n package > msgfmt --java2 -d src/conf -r app.i18n.Messages -l de de.po > > The file de.po is in the current directory? But one line up it says: > > # merge keys into localized po file > msgmerge -U po/de.po po/keys.pot > > Right would be: > > # create German ResourceBundle class file in app.i18n package > msgfmt --java2 -d src/conf -r app.i18n.Messages -l de po/de.po I committed the change to CVS, the next our website will be built the tutor= ial should contain that fix. I would like to point out that the tuturial is not meant as running example but should rather highlight the steps that need to be taken, the following line has been simplified for sake of clarity: # extract keys xgettext -ktrc -ktr -kmarktr -ktrn:1,2 -o po/keys.pot src/*.java 'src/*.java' usually doesn't make sense and should be replaced by '`find src/ -name "*.java"`' > Maybe you could add the note that the directories (conf, po, =85) and the > file (de.po) first have to be created (or touched) if they don't exist. Maybe we can change the tutorial to no use any directories except for the current working directory. Thanks, Felix |