Skip to content

Releases: iLib-js/ilib-mono

loctool@2.28.1

05 Feb 15:07
b48e6f8
Compare
Choose a tag to compare

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.

ilib-loctool-regex@1.0.0

05 Feb 15:07
b48e6f8
Compare
Choose a tag to compare

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.

loctool@2.28.0

28 Jan 23:14
c661447
Compare
Choose a tag to compare

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.
    • 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.
  • 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.

Patch Changes

  • 4965315: Now uses ICU<->Plural conversion code from the ilib-tools-common library instead of its
    own implementation. This way, the code can be shared between tools.
  • Updated dependencies [4965315]
  • Updated dependencies [32ac524]
    • ilib-tools-common@1.13.0

ilib-tools-common@1.13.0

28 Jan 23:14
c661447
Compare
Choose a tag to compare

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

15 Jan 19:41
72d7960
Compare
Choose a tag to compare

Minor Changes

  • fb8b2eb: Updated the plural categories that loctool uses to those defined in CLDR 46.1

ilib-locale@1.2.4

15 Jan 19:41
72d7960
Compare
Choose a tag to compare

Patch Changes

  • 6bf9033: Migrated package into monorepo.

ilib-istring@1.1.1

15 Jan 19:41
72d7960
Compare
Choose a tag to compare

Patch Changes

  • 09986f9: Fixed missing dependency on regenerator-runtime.
  • 6bf9033: Migrated package into monorepo.
  • Updated dependencies [6bf9033]
    • ilib-locale@1.2.4

ilib-es6@14.21.0

15 Jan 19:41
72d7960
Compare
Choose a tag to compare

Minor Changes

  • c6d8fbd: Update to track ilib v14.21.0

Patch Changes

  • 6bf9033: Migrated package into monorepo.

ilib-data-utils@1.2.4

15 Jan 19:41
72d7960
Compare
Choose a tag to compare

Patch Changes

  • 6e67c67: Fixed extensionless ESM imports which could prevent ESM modules fom using this package.

ilib-ctype@1.2.2

15 Jan 19:41
72d7960
Compare
Choose a tag to compare

Patch Changes

  • 6bf9033: Migrated package into monorepo.