Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    collective.recipe.i18noverrides 1.0

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Maurits van Rees | More programs
    GPL / FREE
    July 15th, 2011, 08:59 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    collective.recipe.i18noverrides description

    Override translations by putting some .po files in the i18n directory of the Zope 2 instance

    collective.recipe.i18noverrides is a buildout recipe. It creates an i18n directory within one or more zope 2 instances in your buildout. It copies some .po files to those directories. The translations in those .po files will override any other translations.

    Plone/Zope versions

    This is tested for Plone 3 with Zope 2.10. It should work for a plain Zope site without Plone as well, as there is nothing Plone specific to this recipe. It should work fine for all previous versions as well.

    For Plone 4 and Zope 2.12 it has no effect: there is no code anymore in those versions that looks for translations in an i18n folder of your instance. You should create an own package and register a locales directory with translation in it. For more info or questions, see the plone-internationalization mailing list.

    Use case

    An example use case is:

    - In the Dutch Plone translations the msgid 'Manager' is translated as 'Beheerder'.
    - A customer wanted it to be translated as 'Site admin' instead.
    - Just putting this translation within the i18n directory of the customer product is not guaranteed to work as it depends on the order in which the i18n folders get read on Zope startup: is CMFPlone/i18n or Customer/i18n read first.
    - When you create an i18n directory within the zope 2 instance and add a po file with that msgid there, this is guaranteed to get used.

    Note that this should work for overriding translations within i18n directories. Overriding translations in locales directories is not a use case of this recipe.


    Product's homepage

    Requirements:

    · Python

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

    · Added a note to warn that this recipe will have no effect in Plone 4 (Zope 2.12) or higher. You should create an own package and register a locales directory there. [maurits]

      


    TAGS:

    override translations | buildout recipe | override | i18n | translations



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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