Projects tagged ‘gettext’ and ‘python’


[12 total ]

24 Users
   

A collection of tools for internationalizing Python applications Babel is composed of two major parts: - tools to build and work with gettext message catalogs - a Python interface to the CLDR ... [More] (Common Locale Data Repository), providing access to various locale display names, localized number and date formatting, etc. [Less]
Created over 2 years ago.

9 Users
   

Pootle is a web based translation and translation management tool. It can manage community based localisation of both PO and XLIFF files.
Created over 3 years ago.

6 Users
 

The Translate Toolkit gives translators a number of tools to enhance their localization activity. Support is included for standard localization formats including Gettext PO, XLIFF, TMX and TBX ... [More] This includes converters. These can convert from various formats including Java properties, Mozilla files, OpenOffice.org, Qt .ts and others. Other tools allow for quality assurance with over 40 checks, greping, debugging and counting. [Less]
Created over 2 years ago.

6 Users
   

Virtaal is a localization and translation tool, also called a CAT tool. It builds on the Translate Toolkit to offer translators a rich translation experience. It support the editing of the ... [More] following translation formats: XLIFF, Gettext PO, Qt Linguist, Gettext MO, Wordfast TM and others. Its simple interface design focuses on removing the clutter associated with most localisation tools and allowing the translator to focus on task at hand with the information they need to complete the current task. [Less]
Created about 1 year ago.

5 Users
   

i18ndude performs various tasks related to ZPT's, Python Scripts and i18n.
Created about 1 year ago.

5 Users

RosettaAboutRosetta is a Django application that eases the translation process of your Django projects. Because it doesn't export any models, Rosetta doesn't create any tables in your project's ... [More] database. Rosetta can be installed and uninstalled by simply adding and removing a single entry in your project's INSTALLED_APPS and a single line in your main urls.py file. FeaturesDatabase independent Reads and writes your project's gettext catalogs (po and mo files) Installed and uninstalled in under a minute Uses Django's admin interface CSS Translation suggestions via Google AJAX Language API InstallationTo install Rosetta: Download the application and place the rosetta folder anywhere in your Python path (your project directory is fine, but anywhere else in your python path will do), or simply install using setuptools: sudo easy_install django-rosetta Add a 'rosetta' line to the INSTALLED_APPS in your project's settings.py Add an URL entry to your project's urls.py, for example: from django.conf import settings if 'rosetta' in settings.INSTALLED_APPS: urlpatterns += patterns('', url(r'^rosetta/', include('rosetta.urls')), )Note: you can use whatever you wish as the URL prefix. To uninstall Rosetta, simply comment out or remove the 'rosetta' line in your INSTALLED_APPS SecurityBecause Rosetta requires write access to some of the files in your Django project, access to the application is restricted to the administrator user only (as defined in your project's Admin interface) If you wish to grant editing access to other users: Create a 'translators' group in your admin interface Add the user you wish to grant translating rights to this group UsageGenerate a batch of files to translateSee Django's documentation on Internationalization to setup your project to use i18n and create the gettext catalog files. Translate away!Start your Django development server and point your browser to the URL prefix you have chosen during the installation process. You will get to the file selection window. Select a file and translate each untranslated message. Whenever a new batch of messages is processed, Rosetta updates the corresponding django.po file and regenerates the corresponding mo file. This means your project's labels will be translated right away, unfortunately you'll still have to restart the webserver for the changes to take effect. (NEW: if your webserver supports it, you can force auto-reloading of the translated catalog whenever a change was saved. See the note regarding the ROSETTA_WSGI_AUTO_RELOAD variable in conf/settings.py. If the webserver doesn't have write access on the catalog files (as shown in the screen shot below) an archive of the catalog files can be downloaded. Translating Rosetta itselfBy default Rosetta hides its own catalog files in the file selection interface (shown above.) If you would like to translate Rosetta to your own language: Create a subdirectory for your locale inside Rosetta's locale directory, e.g. rosetta/locale/XX/LC_MESSAGES Instruct Django to create the initial catalog, by running django-admin.py makemessages -l XX inside Rosetta's directory (refer to Django's documentation on i18n for details) Instruct Rosetta to look for its own catalogs, by appending ?rosetta to the language selection page's URL, e.g. http://127.0.0.1:8000/rosetta/pick/?rosetta Translate as usual Optionally, submit your translation for inclusion by creating an issue and attaching your translated po file to the ticket AcknowledgmentsRosetta uses the excellent polib library to parse and handle Po files. .gadget-title { margin-bottom: 2px; } function resizeIframeHandler(opt_height) { var elem = document.getElementById(this.f); if (!elem) return; if (!opt_height) { elem.style.height = undefined; } else { opt_height = Math.max(10, opt_height); elem.style.height = opt_height + 'px'; } } gadgets.rpc.register("resize_iframe", resizeIframeHandler); gadgets.rpc.register('set_title', function(title) { var elem = document.getElementById(this.f + '_title'); if (elem) { elem.innerHTML = gadgets.util.escape(title); } }); [Less]
Created about 1 year ago.

4 Users
 

Python Gettext implementation
Created about 1 year ago.

2 Users

The Web tool for collaborative localization of user interface strings, developed as a Plone application, designed for translation of Java .properties and GNU gettext PO files. Depends on Plone ... [More] product ModelDDvlPlone, hosted at OSOR at http://www.osor.eu/projects/mddvlplone with forge at http://forge.osor.eu/projects/mddvlplone Runs on Zope2.9/Plone2.5. Tested on Debian Ubuntu 8 and Windows (TM) XP and Vista. Because gvSIG-i18n development is driven by a model, and reutilizes the ModelDDvlPlone framework, the actual cost of development of the application is actually quite lower than the one calculated by ohloh tool. The savings are not as big as for other applications by MDDsl, because of extra effort to optimize performance and usability. [Less]
Created 5 months ago.

2 Users

I18NToolBox is an application to ease the use of gettext tools in python projects and also templating engines(currently, only Genshi is supported; of course any templating engines that compiles the ... [More] templates to python code will also be supported.) It's development is still in an early stage. This description will be updated as we go along. [Less]
Created over 3 years ago.

0 Users

polibAboutA library to parse and manage gettext catalogs. polib allows you to manipulate, create, modify gettext files (pot, po and mo files). You can load existing files, iterate through it's ... [More] entries, add, modify entries, comments or metadata, etc... or create new po files from scratch. polib provides a simple and pythonic API, exporting only three convenience functions 'pofile', 'mofile' and 'detect_encoding', and the 4 core classes: POFile, MOFile, POEntry and MOEntry for creating new files/entries. Read more | Tutorial | API Documentation | Projects using polib News2009/06/06: polib now uses mercurial to clone the repository, just do : hg clone https://polib.googlecode.com/hg/ polib2009/06/05: version 0.4.2 released (another bugfix release) What's new: fixed  issue #0007 : use the codecs module to open files, fixed  issue #0014 : plural forms are not saved correctly in the mo file (thanks lorenzo.gil.sanchez for the patch), fixed  issue #0015 : no LICENSE file included in tarball, removed Version/Date from README, added test pot files to MANIFEST.in, performance improvment in find() method (thanks Thomas !). 2009/03/04: version 0.4.1 released (bugfix release) What's new: fixed  issue #0006 : plural msgstrs were saved unsorted, fixed  issue #0008 : long comment lines broke 'save()' method, removed performance shortcuts: they were in fact inefficient, fixed  issue #0010 : wrong polib version number, fixed  issue #0011 : occurrences parsing is now more robust and can handle weird references formats (like in eToys OLPC po files), fixed  issue #0012 : improved merge() method. 2008/11/26: version 0.4.0 is out ! What's new: fixed  issue #0005 : percent_translated divide by 0 on empty po files, fixed  issue #0004 : occurences that have hiphens are wrapped when they should not, changes in how encoding is handled, remove deprecation warnings for typo "occurences", added POEntry.cmp() method to sort entries like gettext does, fixed POEntry.transalated(), added a merge() method to POFile class, that behaves like the gettext msgmerge utility, obsolete entries are now written at the end of the file and with only msgid/msgstr like gettext does, fixed some bugs in mo files parsing, renamed quote/unquote functions to escape/unescape, various cosmetic changes. 2007/12/13: version 0.3.1 released (bugfix release) What's new: fixed  issue #0002 : typo: "occurences" instead of "occurrences", fixed  issue #0003 : mismatch in exception instance names, removed deprecation warnings, removed unused charset() method in POFile/MOFile objects, fixed bug in multibytes string length (added regression tests), fixed a bug in detect_encoding(), added a find() method to PO/MOFile classes, proper handling of quoting and unquoting, proper handling of multiline strings in metadata 2007/12/10: polib group created I created python-polib google group, questions and suggestions are welcome ! 2007/11/09: packages for linux distributions published Various packages for OpenSuse, Suse, Fedora, SLE_10 and Mandriva have been published here, thanks to Nagappan for his time. I hope I'll have some time to create debian and ubuntu packages soon :) 2007/10/17: version 0.3 is out ! What's new: speed improvements, polib can compile mo files now, full unicode support, and many bugs fixed. [Less]
Created 12 months ago.