module for 'po' files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sara Fwd

    #1

    module for 'po' files

    Hi all
    Is there a module for processing & handling '.po'
    files in python?



    _______________ _______________ ____
    Do you Yahoo!?
    Read only the mail you want - Yahoo! Mail SpamGuard.
    Shop the best deals at Yahoo! Shopping! Discover discounts on a wide range of products, from electronics to fashion, and enjoy exclusive offers. Save big with top deals today!

  • Dennis Benzinger

    #2
    Re: module for 'po' files

    Sara Fwd wrote:[color=blue]
    > Hi all
    > Is there a module for processing & handling '.po'
    > files in python?
    > [...][/color]

    I don't know if there is a module for processing them, but
    Python comes with msgfmt.py (in Tools/i18n) which creates
    ..mo files out of your .po files.

    So read the source and see if there's something in there
    which you can use!


    Bye,
    Dennis

    Comment

    • vincent wehren

      #3
      Re: module for 'po' files

      Sara Fwd wrote:[color=blue]
      > Hi all
      > Is there a module for processing & handling '.po'
      > files in python?[/color]

      Don't know exactly what you mean by "processing & handling". What do you
      want to do?

      --
      Vincent Wehren



      [color=blue]
      >
      >
      >
      > _______________ _______________ ____
      > Do you Yahoo!?
      > Read only the mail you want - Yahoo! Mail SpamGuard.
      > http://promotions.yahoo.com/new_mail[/color]

      Comment

      • David Fraser

        #4
        Re: module for 'po' files

        Sara Fwd wrote:[color=blue]
        > Hi all
        > Is there a module for processing & handling '.po'
        > files in python?[/color]

        If you want to do anything beyond standard gettext (which is handled by
        the gettext module) there's lots of code at translate.sourc eforge.net ...

        David

        Comment

        Working...