zope.app.locales icon

zope.app.locales For Linux

  n/a
ZPL (Zope Public License)    

Zope locale extraction and management utilities. #Zope locale  #Locale extractor  #Locale management  #Zope  #Locale  #Extractor  

Description

changelog

Free Download

zope.app.locales provides some facilities for extracting and managing i18n messages that occur in Zope software. More specifically, i18n messages can occur in Python code, in Page Templates and in ZCML declarations. zope.app.locales provides a utility that can extract messages from all three and write them to a standard gettext template (pot file).

Detailed Documentation:

This document assumes that you have a Zope 3 checkout and the gettext utilities installed.

Whenever you've made a change to Zope that affects the i18n messages, you need to re-extract i18n messages from the code. To do that, execute i18nextract.py from the utilities directory of your Zope 3 checkout:

  python utilities/i18nextract.py -d zope -p src/zope -o app/locales

This will update the zope.pot file. Make sure that the checkout's src directory is part of your PYTHONPATH environment variable.

After that, you need to merge those changes to all existing translations. You can do that by executing the i18nmergeall.py script from the utilities directory of your Zope 3 checkout:

  python utilities/i18nmergeall.py -l src/zope/app/locales

To translate messages you need to do the following steps:

If a translation for your language is already present and you just want to update, skip ahead to step 2. If you want to start translation on a new language, you need to

 create a directory

 src/zope/app/locales//LC_MESSAGES

with the appropriate code for your language as . Note that the two letters specifying the language should always be lower case (e.g. 'pt'); if you additionally specify a region, those letters should be upper case (e.g. 'pt_BR').

 copy the zope.pot template file to /LC_MESSAGES/zope.po.

edit the PO header of the newly created zope.po file and fill in all the necessary information.

Translate messages within the PO file. Make sure the gettext syntax stays intact. Tools like poEdit and KBabel can help you.

Finally, when you're done translating, compile the PO file to its binary equivalent using the msgfmt tool:

cd < lang_code >/LC_MESSAGES $ msgfmt -o zope.mo zope.po

System requirements

What's new in zope.app.locales 3.7.4:

  • In version 3.7.2 msgids and default values were forced to be unicode. This was too strict because at least the TAL extractor returns UTF-8 encoded default values. Fixed this by allowing the default value to be a string again.
Read the full changelog

zope.app.locales 3.7.4

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  filename:
zope.app.locales-3.7.4.tar.gz
  main category:
Programming
  developer:
  visit homepage

ShareX 16.0.1

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

Zoom Client 6.0.3.37634

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

IrfanView 4.67

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

Windows Sandbox Launcher 1.0.0

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

Bitdefender Antivirus Free 27.0.35.146

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Context Menu Manager 3.3.3.1

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

calibre 7.9.0

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

7-Zip 23.01 / 24.04 Beta

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

% discount
Context Menu Manager
  • Context Menu Manager
  • calibre
  • 7-Zip
  • ShareX
  • Zoom Client
  • IrfanView
  • Microsoft Teams
  • Windows Sandbox Launcher
  • Bitdefender Antivirus Free
  • 4k Video Downloader
essentials


Load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy