Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install dennis

How to install dennis

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install dennis
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
0.3.4 Available View build log
Linux (32-bit)
0.3.4 Available View build log
Linux (64-bit)
0.3.4 Available View build log
 
License
Simplified BSD License
Dependencies
Lastest release
version 0.3.4 on Aug 1st, 2013

dennis is a command line tool for translating and linting .po files.

It includes the following subcommands:

  • translate: Translates strings in .po files into something else! Comes with an HTML extractor (tokenizes strings so that only the text is translated) and a bunch of translations like Pirate!. This is helpful for l10n testing, development, finding unicode/layout problems, amazing your friends, hilarious April 1st shenanigans, etc.

    The system allows for other translators and extractors using a loosely coupled pipeline.

    This also works on strings passed in as command line arguments and as stdin---it doesn't have to be a .po file or in a .po format.

  • lint: Lints .po files for problems.

    The system allows for defining other variable formats.

Quick start

Install:

$ pip install dennis
$ pip install blessings  # Optional for prettier output

Lint a .po file for problems:

$ dennis-cmd lint locale/fr/LC_MESSAGES/messages.po

Lint all your .po files for errors:

$ dennis-cmd lint --errorsonly locale/

Translate a .po file in place into Pirate!:

$ dennis-cmd translate --pipeline=html,pirate \
    locale/xx/LC_MESSAGES/messages.po

Get help:

$ dennis-cmd

Project details

Code:http://github.com/willkg/dennis
Documentation:http://dennis.rtfd.org/
Issue tracker:https://github.com/willkg/dennis/issues
License:BSD 3-clause; see LICENSE file

Why is it called dennis?

This is how I name my software projects.

Subscribe to package updates

Last updated Aug 1st, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.