I need to run xgettext to parse gettext string with my osx. Although osx is build based on BSD a unix variant, it is not easy to get gettext and other gnu tools running on osx.

…until I discover FINK. If you familiar with apt-get in ubuntu, then I feel that fink is something similar.

If you use snow leopard, you should download and compile it yourself, perhaps you need xcode .. or gcc .. haha … don’t ask me how. Fortunately I use leopard, so I use binary package in .dmg file ;)

After fink installed, open terminal and type

?Download s1
fink install gettext-tool

Enter your osx password when it ask for password. After installation finished, you can use xgettext and msgfmt as usual. :)

Leave a Reply