Results 1 to 2 of 2

Thread: How to find out in which package is string "No address associated with hostname"

  1. #1
    Join Date
    Mar 2007
    Beans
    627

    How to find out in which package is string "No address associated with hostname"

    Hi,
    I am trying to translate PyChess (chess game) and I see some strings are not available in PyChess. I have asked developer if there is some missing string, but he responded that this string comes from Python environment. Is there any way to find out in which source Python file is this translation from, that I could check that string and translate it?
    Thanks

  2. #2
    Join Date
    Oct 2005
    Beans
    244
    Distro
    Ubuntu Development Release

    Re: How to find out in which package is string "No address associated with hostname"

    If the string is not translatable, there is no easy way to find it.

    One thing you can do is to download the PyChess code from http://pychess.googlecode.com/files/...0.10rc1.tar.gz, unpack the archive and do a full text search for that string.

    In order for the string to be translatable it should be enclosed in _(). If it's not, I'd recommend getting in touch with the developer again and point him to the string.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •