| | |
| | | $ mkdir -p myapplication/locale |
| | | $ python setup.py extract_messages |
| | | |
| | | The message catalog ``.pot`` template will end up in |
| | | The message catalog ``.pot`` template will end up in: |
| | | |
| | | ``myapplication/locale/myapplication.pot``. |
| | | |
| | | Translation Domains |
| | |
| | | $ cd /place/where/myapplication/setup.py/lives |
| | | $ python setup.py init_catalog -l es |
| | | |
| | | By default, the message catalog ``.po`` file will end up in |
| | | By default, the message catalog ``.po`` file will end up in: |
| | | |
| | | ``myapplication/locale/es/LC_MESSAGES/myapplication.po``. |
| | | |
| | | Once the file is there, it can be worked on by a human translator. |