I want to internationalize a gtk + 2 application. I can do this if I have lines in the source code (_ (String)). I extracted all the lines from the .ui file using xgettext . Everything is fine. I translated it. I want to set a text domain for my interface file using:
gtk_builder_set_translation_domain(builder, GETTEXTPATH)
This does not work. All lines are the same as at the beginning. I am using GTK + 2.24.10. I do not want to get all the lines in the program and use _ () .
poxip source
share