Kingdutch / gettext-tools

A repository with Javascript based tools to help in working with .PO files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

msgintersect complete-translation.po partially-translated-subset.po fully-translated-subset.po

msgchecker

Checks a PO file for various offenses.

Usage

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.

About

A repository with Javascript based tools to help in working with .PO files.


Languages

Language:JavaScript 100.0%