Monday, February 16, 2009

Nobody's perfect: 0.9.4

The new release contains many improvements on the import and export side as I got a lot of complaints that "it's not working", especially for Windows based installations.

There are also new features, probably the most notable is the mass approve function on the text list.

I'd like to draw some attention to a hidden feature that I've never talked about before. If you put in the project's directory, let's say data/import/1 two files named import.sh and export.sh they will be executed, the first before import (for things like running a wget) and the second after export (for things like creating a language pack, or a compiled .po file). The scripts are called with useful arguments. Here's a script used for creating a Firefox language pack after the export process:
#!/bin/bash
# $1 - language code
# $2 - language id
# $3 - project name
# $4 - project id
# $5 - user id

cd /mozilla_projects/firefox/fx/browser/locales

make -s langpack-$1
export retVal=$?

exit $retVal
Don't forget about returning a value. The output will be shown anyway but with a warning or success message depending on the retVal.

If you're doing a fresh installation, follow the instructions in the INSTALL file.
If you're updating from 0.9.3, run the update files in the root directory. Their names are pretty suggestive.

And here's the link: http://narro.googlecode.com/files/narro-0.9.4.tar.gz.

I'd just like to add a small note of warning. The setup and install process may be a little rough as systems installations differ. But if you need help, don't hesitate to ask for help on the discussion group: http://groups.google.com/group/narro-project/post.

1 comment:

Anonymous said...

I found this site using [url=http://google.com]google.com[/url] And i want to thank you for your work. You have done really very good site. Great work, great site! Thank you!

Sorry for offtopic