During the re-write, I've completely removed gettext from the code because of a bad implementation of it.
Now re-implement it.
We will use the Launchpad translation platform.
Implement issue #15: Use gettext in order to translate NaturalScrolli…
…ng (Use of Launchpad.net)
As more and more translation are done, I have to focus on updating the setup.py file in order to install those translations.
Also update the packaging script in order to include those translations.
* Implemented gettext translations from https://translations.launchpad.net/naturalscrolling
* Upgraded from optparse.OptionParser to argparse.ArgumentParser
Next step is packaging it.
Issue #15: Implemented locales into the setup.py script
Now the setup.py script work well.
After having installed naturalscrolling (use --prefix=/usr/local on installation), it possible to test the i18n using:
I have just released the 0.6.0 version of the naturalscrolling-testing package that include i18n.