LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-22-2005, 06:08 AM   #1
vimico
Member
 
Registered: Jan 2004
Distribution: Debian, Ubuntu
Posts: 118

Rep: Reputation: 15
Translations of GUI created with Glade, Python


A friend of mine is developing a program in Python. The GUI is created with Glade.

I meanwhile found out that Glade will create a subdirectory with a .pot file containing the translatable strings, which I can translate (e.g. with Gtranslator).

My questions now:
- What file name must the translated file use?
- Has this file to be "compiled" in some way? (Remember, it should be used by a python script.
- How can I make the python program use the translations?
 
Old 12-22-2005, 02:36 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
If they're standard .pot, the translated ones should be .po (filename.pot -> filename.po). They're translated to the form used by the programs using msgfmt.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Distributing Python apps with Glade UI vharishankar Programming 0 11-27-2005 03:50 AM
python/glade attach window content in gtk.fixed() a10392 Linux - Software 3 10-08-2004 09:19 AM
Glade/python Show a window. a10392 Linux - Software 0 10-06-2004 10:10 AM
I cannot compile my souce code created by Glade on redhat9 msramachandran Programming 0 06-02-2004 02:13 AM
glade generate c gui - how? abs Programming 0 04-06-2004 02:17 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration