I ran into an issue when generating my language files for Django.
1 2 |
$ django-admin makemessages -l fr CommandError: Can't find msguniq. Make sure you have GNU gettext tools 0.15 or newer installed. |
This is because OSX has an old version of gettext installed. To use the last one, install it with homebrew and force homebrew to override OSX gettext command.
1 2 3 4 5 |
$ brew install gettext ... $ brew link gettext --force Linking /usr/local/Cellar/gettext/0.19.7... 190 symlinks created |
And then, no more problems !
1 2 |
$ django-admin makemessages -l fr processing locale fr |