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

ztfy.i18n is unavailable in PyPM, because there aren't any builds for it in the package repositories. Click the linked icons to find out why.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
 
Links
License
ZPL

What is ztfy.i18n ?

ztfy.i18n is a package used to handle internalization of contents attributes.

Supported attributes types include:
  • text and textline fields
  • file and images fields
  • HTML fields

How to use ztfy.i18n ?

A set of ztfy.i18n usages are given as doctests in ztfy/i18n/doctests/README.txt

Changelog

0.3.2
  • use Unicode for default language when no language nogotiator is available
0.3.1
  • updated locales
  • updated style of files download links
0.3.0
  • use ZTFY.skin data API
  • removed unused CSS styles
  • make package resources compatibles with Fanstatic "bottom" option
0.2.14
  • small CSS update for flags tabs
0.2.13
  • added custom title viewlet for I18n contents
  • modified CSS to match new ZTFY skin
0.2.12
  • added "translated" property decorator
  • use getMagicContentType method from ztfy.file package
0.2.11
  • changed package source layout
0.2.10
  • remove default JPEG format when creating or using thumbnails
0.2.9
  • added "translate" TAL adapter
0.2.8
  • automatically add file's extension in I18nFileField and I18nImageField attributes values
  • use mimetypes package to get content-type for text files
0.2.7
  • use dictionaries instead of tuples in languages vocabularies
0.2.6
  • added request context to languages vocabularies translations
  • modified "setLanguage.html" view to use context's absolute URL and avoid bad redirections when using virtual hosting
0.2.5
  • added missing widgets permissions registration
0.2.4
  • added "ZTFY base languages" vocabulary, to handle a list of languages not including country codes
  • updated translations
  • changed position of file input fields
  • changed handling of jQuery's "imgAreaSelect" plug-in
  • minor changes in CSS styling
0.2.3
  • added check in image field widget thumbnail generation code
0.2.2
  • added extension in displays URLs
  • handle square thumbnails via JQuery imgAreaSelect plug-in
  • check II18n adapter correctly in I18nTalesAdapter
  • better check for request in I18nAttributesAdapter.getPreferedLanguage method
0.2.1
  • migrated resources management from zc.resourcelibrary to fanstatic
0.2
  • switched to ZTK-1.1.2
  • restrictions on I18nAttributesAdapter adapted interface to II18nAttributesAware
  • handle z3c.form "NOT_CHANGED" value for I18n file attributes properties
0.1.1
  • use Invalid exception instead of ValueError to handle invariants
0.1
  • initial release

Subscribe to package updates

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.