Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kingdutch/gettext-tools
A repository with Javascript based tools to help in working with .PO files.
https://github.com/kingdutch/gettext-tools
Last synced: 28 days ago
JSON representation
A repository with Javascript based tools to help in working with .PO files.
- Host: GitHub
- URL: https://github.com/kingdutch/gettext-tools
- Owner: Kingdutch
- Created: 2019-10-23T08:28:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-23T08:47:12.000Z (over 5 years ago)
- Last Synced: 2024-11-07T22:49:23.615Z (3 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gettext-tools
This project contains various tools for working with .po (gettext) files.## msgintersect
> A Gettext .PO file intersection tool.Generates the intersection between two .PO files.
### Usage
```shell
msgintersect complete-translation.po partially-translated-subset.po fully-translated-subset.po
```## msgchecker
Checks a PO file for various offenses.## Usage
```bash
msgchecker [--fix source.po] target.po
```The `target.po` file will be analysed with the available checks.
Providing a `source.po` file with the `--fix` option will cause the tool to
try to use available translations from `source.po` to fix failing checks in
`target.po`. The result will be written back to `target.po`.### Current checks
- Checks whether non-empty plurals are identical to the singular form.