The gettext toolchain comes with a utility to check a PO file for syntax errors, msgfmt, which is available for both Windows and Unix. Transifex needs the PO files that are uploaded to Transifex to be syntactically correct. #: actionlog/templates/object_action_list.html:8 #: actionlog/templates/object_action_list.html:7 txpermissions/forms.py:18 "Plural-Forms: nplurals=2 plural=(n != 1) \n" "Content-Type: text/plain charset=UTF-8\n" However, you can still check the file for syntax errors using the msgfmt tool that comes with gettext. Whenever a PO file is uploaded, Transifex tries to make sure the file is syntaxically correct. The gettext system has many features, including support for developer comments, context, and the ability to specify the location of a string in the source code. PO files are used by the gettext i18n system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |