Skip to content

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

Notifications You must be signed in to change notification settings

Kingdutch/gettext-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published