Releases: iLib-js/ilib-mono
Releases · iLib-js/ilib-mono
loctool@2.28.1
Patch Changes
-
9818185: Fix a bug reading multi-level xliff dirs
- if the xliff dir named in the config or the command
line contained multiple directory levels (as opposed to
everything being in the root of that xliff dir), the code
miscalculated the relative path those those resource
files and therefore could not load them. This is now
fixed.
- if the xliff dir named in the config or the command
ilib-loctool-regex@1.0.0
Major Changes
- 56503ce: - Added a regular expression-based parser to extract localizable
strings from any type of textual source file such as php, java,
or javascript.- Regular expressions are given in the project.json config file
plus some configuration instructing loctool how to construct
Resource instances out of the regex match results.
- Regular expressions are given in the project.json config file
loctool@2.28.0
Minor Changes
-
32ac524: Modified the way loctool reads translated resource files
- The way loctool reads resource files from the xliffsDir directories
has changed.- Previously, it would read
[dir]/*.xliff
and now it reads[dir]/**/*.xliff
or[dir]/**/*.po
. That is, it reads each directory recursively.
- Previously, it would read
- renamed -x and --xliffsDir to -t and --translations but the old
command-line arguments are still accepted - does not read only resource files that have a locale in their
file name. It reads all files in the xliffDir.
- The way loctool reads resource files from the xliffsDir directories
-
90c28fa: - added the ability to read and write .pot files as
intermediate file format and as translation file
format.- Also, .po file can still be read and written if necessary
as the format for po and pot files are the same.
- Also, .po file can still be read and written if necessary
Patch Changes
ilib-tools-common@1.13.0
Minor Changes
- 4965315: Added functions convertPluralResToICU and convertICUToPluralRes to convert
ICU-style plural strings encoded in ResourceString instances into ResourcePlural
instances and vice-versa - 32ac524: - added directory walk routines
- returns a js object that models the file system under the given directory
- allows for arrays of include and exclude micromatch expressions
loctool@2.27.0
Minor Changes
- fb8b2eb: Updated the plural categories that loctool uses to those defined in CLDR 46.1
ilib-locale@1.2.4
Patch Changes
- 6bf9033: Migrated package into monorepo.
ilib-istring@1.1.1
ilib-es6@14.21.0
ilib-data-utils@1.2.4
Patch Changes
- 6e67c67: Fixed extensionless ESM imports which could prevent ESM modules fom using this package.
ilib-ctype@1.2.2
Patch Changes
- 6bf9033: Migrated package into monorepo.