1.0.0 • Published 1 year ago
textlint-plugin-xliff v1.0.0
textlint-plugin-xliff
XLIFF support for textlint.
💥ATTENTION
This project is of very low priority. Do not expect maintenance.
License
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
- Linter and formatter, powered by Deno
- This code is based on @textlint/textlint-plugin-markdown
- Have a good day! 🥂