GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Fri Aug 01, 2014 3:44 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Unable to set translate domain for gtk builder file, GTK+ 2
PostPosted: Sun Apr 28, 2013 8:27 pm 
Offline

Joined: Sun Apr 28, 2013 8:16 pm
Posts: 1
I want to internationalize my gtk+2 app. I can do it if i've strings in source code(_("String")). I extracted all strings from .ui file using the xgettext. It's OK. I translated it(using Poedit. I want to set text domain for my interface file using:

Code:
gtk_builder_set_translation_domain(builder, GETTEXTPATH)


It doesn't works. All strings are same as at the beginning. I'm using GTK+ 2.24.10. I don't want to get all strings in program and use _(). My .mo and .po files are OK. It works for normal strings(not in .ui file). I'm waiting for response. I need it for my GTK+ project.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group