Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python verrsion of Locale::Simple, Translation system based on gettext storage, same API in Perl and Javascript

Project Description

# Description This is a small wrapper around Gettext functionality that integrates sprintf and makes it a bit more easy to setup the internationalization. It ONLY supports UTF8 data, and in or output, that is a fixed setup (and always will be).

# Usage

Usage of this module is very similar to that of [Locale::Simple](https://metacpan.org/module/Locale::Simple):

from locale_simple import *

# Set the locale dir l_dir(‘data/locale’) # Set the default domain ltd(‘test’) # Set the default language l_lang(‘de_DE’)

print l(“Hello”) # Hallo print ln(“You have %d message”,”You have %d messages”,1) # Du hast 1 Nachricht

Release History

Release History

This version
History Node

0.019

History Node

0.018

History Node

0.016

History Node

0.015

History Node

0.014

History Node

0.013

History Node

0.010

History Node

0.009

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
locale-simple-0.019.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source Sep 10, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting