Bug 2904 - xclock does not use locales
Summary: xclock does not use locales
Status: VERIFIED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/other (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords: i18n
Depends on:
Blocks:
 
Reported: 2005-04-04 11:11 UTC by jack_mort
Modified: 2007-01-13 04:34 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description jack_mort 2005-04-04 11:11:02 UTC
When using xclock in digital mode, specifying some strftime format, it's always
using english.

See here for a patch : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=259423
Comment 1 Alan Coopersmith 2005-04-04 11:23:50 UTC
Have you tried Xorg CVS head since I putback this fix which I think also 
fixes this?   (It went in post-6.8.0 and hasn't been pulled into 6.8.1 or 6.8.2
so is only in CVS head right now.)

2004-10-30  Alan Coopersmith  <alan.coopersmith@sun.com>

	* xc/programs/xclock/Imakefile,Clock.c,ClockP.h,xclock.c:
	Internationalize digital output (Sun bug id #4119396 - fix by
	Steve Swales),  add -bgpixmap option to set XPM file as background
	(originally from STSF project version of xclock by Alan Coopersmith)

It includes a setlocale(LC_ALL,"") as well as changes to handle other character
sets.
Comment 2 jack_mort 2005-04-04 11:39:05 UTC
Sorry, I didn't try CVS. I'm with 6.8.2 so as you say, it seems this patch was
forgotten :-(

I'll wai for next release and "reopen" the bug if the patch is still not
included ;-)

Thanks.
Comment 3 Alan Coopersmith 2005-05-15 13:11:08 UTC
Marking as fixed, since the change in HEAD should cover it.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.