Download
You can download source packages from files.itstool.org.
-
Performance improvements when chaining up on certain ITS rules
Performance improvements when using ITS params.
-
Make DocBook keyword element within text
Apply ITS files passed with -i in --join mode
-
Allow preserveSpace on XML attributes (Álvaro Muñoz)
Fixed issue with writing files under macOS (Álvaro Muñoz)
Fixed various differences between Python 2 and 3
Fixed issues with libxml2 memory management
-
Fixed a massive performance issue
-
Added Python 3 support. Keeping Python 2 support for now. (Virgil Dupras)
Fixed --keep-entities mode after some libxml2 changes.
Added --path option for extra paths for ITS files.
Don't error out (except under -s) for mismatched placeholders.
Fixed UTF-8 handling for translated attributes.
-
Reworked default ITS rules for better performance
-
Support for ITS 2.0 Preserve Space data category
Support for ITS 2.0 Locale Filter data category
Support for ITS 2.0 External Resource data category
Support for ITS 2.0 ID Value data category
Support for ITS 2.0 parameters, including user overrides
Support for ITS 2.0 local withinText attribute
Fixed handling of localization note inheritance
Fixed handling of namespace prefixes on elements
Added option to retain entity references in PO files
Added option to load external DTDs (Galen Charlton)
Added built-in rules for DocBook 5
Updated built-in rules to use ITS 2.0 Preserve Space and External Resource instead of 1.x custom extensions
Excluded editor remarks and comments in built-in DocBook and Mallard rules with Locale Filter
Made all DocBook *info children not within text in built-in rules
-
Added new “join mode” for multilingual XML formats
Correctly handle ITS version attribute
Better handling of multiple localization notes
XML path markers are now in dedicated comments
Show language code when failing to get translation from PO
Added more regression tests
-
Handle UTF-8 in attribute values
Don’t output non-translatable external ref messages
Better error handling
-
Better handling of XML errors in PO files
-
Catch XML parsing errors and exit with error code
Fixed placeholder translation when it contains sub-elements
Improved autogen.sh for out of tree compilations
-
Added itst:context to set msgctxt
Added itst:drop to drop context from translations
Allow XML attributes to be translated
Allow locNotePointer to return a string
Allow localization notes to be space-preserving
Allow both XLink and child rules on its:rules
Fixed Unicode encoding/decoding errors
Added automated test suite
Added a man page
Python 3 fixes
-
Convert POSIX-style locales to BCP47
Use #. instead of plain # for comments
Added PO header to output
Added --version
ITS Tool is hosted on GitHub. Clone the itstool git repository to get the latest work or to make changes yourself.