Mercurial > p > roundup > code
comparison doc/developers.txt @ 7788:a9bac0cb4019
feat: make msgfmt.py a simple CLI replacement for msgfmt(1)
Simplify testing .po files if the tester doesn't have access to GNU
gettest tools or doesn't want to install the python Babel package.
Also mentioned in developers.txt.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 06 Mar 2024 13:12:21 -0500 |
| parents | a46675399a05 |
| children | 161a92d1fb71 |
comparison
equal
deleted
inserted
replaced
| 7787:2ab234484708 | 7788:a9bac0cb4019 |
|---|---|
| 129 ``.mo`` files and install them under | 129 ``.mo`` files and install them under |
| 130 ``locale/locale/<LANGUAGE_CODE>/LC_MESSAGES/roundup.mo``. For | 130 ``locale/locale/<LANGUAGE_CODE>/LC_MESSAGES/roundup.mo``. For |
| 131 German this will be | 131 German this will be |
| 132 ``locale/locale/de/LC_MESSAGES/roundup.mo``. You will need | 132 ``locale/locale/de/LC_MESSAGES/roundup.mo``. You will need |
| 133 ``msgfmt`` from the the GNU gettext tools to be installed on | 133 ``msgfmt`` from the the GNU gettext tools to be installed on |
| 134 your system. | 134 your system. In a pinch you can invoke ``python roundup/msgfmt.py |
| 135 po_file mo_file`` to compile your .po file to a .mo file. It's slow | |
| 136 but seems to work in basic tests. The msgfmt.py file is used by | |
| 137 Roundup to compile out of date .po files. | |
| 135 | 138 |
| 136 Submitting Changes | 139 Submitting Changes |
| 137 ------------------ | 140 ------------------ |
| 138 | 141 |
| 139 Most small changes can be submitted as patches through the | 142 Most small changes can be submitted as patches through the |
