Bug 64870

Summary: Please make rhn_applet use intltool
Product: [Retired] Red Hat Linux Reporter: Christian Rose <menthos>
Component: rhn-appletAssignee: Daniel Veillard <veillard>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: kenneth
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-18 11:33:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Rose 2002-05-13 20:17:09 UTC
Please consider making rhn_applet use intltool. This will significantly ease 
the translation of the .desktop file entries for translators, since they can be 
translated and maintained directly from the po file.

Comment 1 Daniel Veillard 2003-01-17 15:55:05 UTC
Can you provide instructions (or pointers) on how to do so ?
Patch or example code for python appreciated,

Daniel

Comment 2 Christian Rose 2003-01-18 11:22:33 UTC
Kenneth is the intltool wizard... Kenneth?

Otherwise, there are many other bug reports that also request intltool support;
some of them seems to be resolved, and some of them may of course involve python
code: Bug 40063, bug 40064, bug 40226, bug 64845, bug 64871, bug 64872, bug
64873, bug 64874, bug 64875, bug 64876, 64877, bug 64878, bug 64879, bug 64880,
bug 64881.

Comment 3 Daniel Veillard 2003-01-18 11:33:23 UTC
Okay looking at the intltool-0.22/README, all the instructions indicates
that this is targetting packages using autocon and automake. this is not
the case for the rhn-applet code. There is no instructions for non
automake based setups, I won't try to make this works against what seems
the expected framework for intltool. If you know how to do it, provide
patches, but I won't mess with it myself

Daniel

Comment 4 Kenneth Rohde Christiansen 2003-01-18 15:42:16 UTC
It really isnt that hard.

Create a po/ dir.
Add a po/POTFILES.in file, including the path to the somename.desktop.in file

Then to create the somename.desktop file all you do is:

$ intltool-merge po/ -d -u -c po/.intltool-merge-cache somename.desktop.in
somename.desktop

you can also type intltool-merge --help for a bit more info.