Results 1 to 5 of 5

Thread: Glade Interface Translation Output Input

  1. #1
    Join Date
    Apr 2006
    Location
    New Mills, UK
    Beans
    1,213

    Glade Interface Translation Output Input

    I have a python application which extracts the "translatable" labels from a Glade file.
    Let's you enter translations.
    Then rebuilds the Glade file with the translations inserted instead.
    I thought I'd post it here as I don't know where else to put it.
    It's written in Python and it's called GITOI - Glade Interface Translation Output Input
    Run the program, load <gladefilename> hit the extract button, save gitoi file
    It creates translation files with a .gitoi extension with the text in as follows:
    Code:
    #DO NOT REMOVE THESE LINES
    #TRANSLATION TEXT TO BE PLACED AFTER THE |><| SYMBOLS
    #DO NOT TRANSLATE [crlf] THESE ARE FOR MULTI-LINE LABELS
    #
    Original GLADE File|><|
    Load Original GLADE file|><|
    GITOI File|><|
    Extract To GITOI|><|
    Save GITOI File|><|
    Load GITOI File|><|
    Translate to GLADE|><|
    Translated GLADE File|><|
    Save Translated GLADE File|><|
    These can be sent off to translators or put with Glade projects for people to translate.
    Just place the translations after the |><| symbol and save the file.
    Then the file can be loaded and the translation inserted into a new file called <gladefilename>_gitoi.glade.
    The "_gitoi" part can then be changed to _fr, _de, etc. depending on the translation.

    Here is a screenshot:
    GITOI.png
    I hope this is the right place to put this and that it proves useful to someone.
    Attached Files Attached Files
    Last edited by Malac; September 4th, 2007 at 08:46 PM.
    Malac - "Time Is Precious, Waste It Wisely"
    Registered Linux User 416897
    Registered Ubuntu User 7567

  2. #2
    Join Date
    Apr 2006
    Location
    New Mills, UK
    Beans
    1,213

    Re: Glade Interface Translation Output Input

    New Version 1.0 uploaded 27th September 2006.
    Malac - "Time Is Precious, Waste It Wisely"
    Registered Linux User 416897
    Registered Ubuntu User 7567

  3. #3
    Join Date
    Apr 2006
    Location
    New Mills, UK
    Beans
    1,213

    Re: Glade Interface Translation Output Input

    Added a .deb file, Tuesday, 12 December 2006.
    Hopefully making it easier to install, remove or upgrade.
    Last edited by Malac; December 13th, 2006 at 11:10 AM.
    Malac - "Time Is Precious, Waste It Wisely"
    Registered Linux User 416897
    Registered Ubuntu User 7567

  4. #4
    Join Date
    Jun 2005
    Beans
    10

    Re: Glade Interface Translation Output Input

    Would be interesting, but does nothing for me. Could you please post the dependencies?

  5. #5
    Join Date
    Jun 2005
    Beans
    10

    Re: Glade Interface Translation Output Input

    Needs these three packages to run on Fluxbuntu:

    python-gconf
    python-gnome2
    python-gmenu

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
  •