1.0.0 • Published 1 year ago

textlint-plugin-xliff v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

textlint-plugin-xliff Node.js CI

XLIFF support for textlint.

💥ATTENTION

This project is of very low priority. Do not expect maintenance.

License

MIT

Supported extensions

  • .xlf

Installation

Published on npm.

npm i textlint-plugin-xliff

Usage

The textlint specification does not allow you to determine which elements the parser will exclude.

A <source> tag is recognized as a Comment. Please filter out.

{
  "filters": {
    "node-types": {
      "nodeTypes": [
        "Comment"
      ]
    }
  },
  "rules": {
    // Example rules
  },
  "plugins": {
    "xliff": true
  }
}

Running Tests

To run tests, run the following command:

npm test

FAQ

Can't handle gettext(.po)?

No. But you can convert it with tools.

See also: Translate Toolkit

Authors

Acknowledgements