|
|
|
Login
|
Base18: Multilingual Portal for Zope CMF
Base18 is a Zope CMF Product which extends the CMFDefault product in order to allow members of a Portal site collaborate and translate the content of that Web site. It is based on Localizer.
Base18 is a Zope product which allows to build multilingual portals. It uses Localizer and extends the Zope CMFDefault product to provide a way to translate documents at a sentence per sentence level. It implements a new kind of CMF document: Translations. Translations allow to store a .po file which allows to translate a given document. This approach was inspired by the poxml approach used by the KDE project to translate its documentation. Because it works at the sentence or paragraph level, it is possible to use the fuzzy feature of gettext to find similar translations for a given sentence and accelerate the translation process. Base18 also includes a translation workflow which allows to keep track of translations and their association to documents in a portal. It was used to translate the Storever and ERP5 sites with KBabel (see screenshot bellow).
Base18 is currently much of a "proof-of-concept" which needs to be extended. Future versions will include greater flexibility and improved user interface. Base18 is a Zope CMF Product which extends the CMFDefault product in order to be able to translate the content of a Web site. It is based on Localizer. Technical DescriptionBase18 subclasses all content types of the CMFDefault product. Base18 defines a new common class (Base18) which implements new methods to translate the Title (TranslatedTitle), the Description (TranslatedDescription) and the CookedBody (TranslatedBody) of content objects. Content objects include a new Translate action which allows to create a .po file from the content of a document. This .po file can be modified with an application such as KBabel Base18 implements a new Translation meta_type based on the Document type in order to create user translations. Translations can be created by importing .po files. Base18 implements a portal_translations which associates a document to a translation. Multiple documents can be associated to a single translation. During the rendering of a document, portal_translations is called to search for a registered translation. If no translation was registered, it searches for a message catalog with the same name as the document to translate and, if no such catalog exists, eventually fails backs using the default gettext catalog. DownloadBase18.tgz: latest released version with instructions provided
Attached file:
|
|
|