Automatic language translation

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

    Automatic language translation

    Does python have a module that will translate between different spoken
    languages? My python program displays all of its messages in English
    currently and my boss wants it to default to Korean now.

    Any ideas how to go about doing this?

  • Mariano Draghi

    #2
    Re: Automatic language translation

    Jon wrote:[color=blue]
    > Does python have a module that will translate between different spoken
    > languages? My python program displays all of its messages in English
    > currently and my boss wants it to default to Korean now.
    >
    > Any ideas how to go about doing this?
    >[/color]

    You need to use gettext.
    Please, have a look at http://docs.python.org/lib/module-gettext.html

    --
    Mariano

    Comment

    • Magnus Lycka

      #3
      Re: Automatic language translation

      Jon wrote:[color=blue]
      > Does python have a module that will translate between different spoken
      > languages? My python program displays all of its messages in English
      > currently and my boss wants it to default to Korean now.
      >
      > Any ideas how to go about doing this?[/color]

      "import gettext" is a start... See
      Source code: Lib/gettext.py The gettext module provides internationalization (I18N) and localization (L10N) services for your Python modules and applications. It supports both the GNU gettext messa...

      Comment

      Working...