Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    tranchitella.recipe.i18n 0.6

    Download button

    No screenshots available
    Downloads: 110  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Tranchitella Kft. | More programs
    GPL / FREE
    June 22nd, 2011, 19:23 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    tranchitella.recipe.i18n description

    Buildout recipe to extract and manage po files

    tranchitella.recipe.i18n is a buildout recipe that creates i18n tools to extract and manage po files. More specifically, i18n messages can occur in Python code, in Chameleon (ZPT) page templates and in ZCML declarations.

    Scripts

    This recipe provides the following scripts:

     i18nextract:

     extract the i18n messages from the Python code, the Chameleon (ZPT) page templates and the ZCML configuration files;

     i18nmerge:

     requires the GNU gettext package to be installed; the command 'msgmerge' will be executed for each language;

     i18nstatus:

     prints a simple statistics with the status of the translations.

    Usage:

    Add to your buildout configuration file the following snippet:

    [i18n]
    recipe = tranchitella.recipe.i18n
    package = PACKAGE
    zcml = PACKAGE:configure.zcml
    expressions =
     first=PACKAGE.expressions:FirstExpression
     last=PACKAGE.expressions:LastExpression
    output = locales
    domain = DOMAIN
    verify_domain = true
    exclude =
     tests.py
     ftests.py


    Replace PACKAGE with your Python package name and DOMAIN with your i18n domain; the zcml setting is optional.


    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Do not break if the message extracted from a python file contains utf-8 text.

      


    TAGS:

    buildout recipe | po manager | po extractor | po | manager | extractor

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM