[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: gettext support on Win32

From: D.J. Heap <dj_at_shadyvale.net>
Date: 2004-04-06 03:04:01 CEST

Max Bowsher wrote:
> Hardcoded directory locations are less tolerable on Windows than on
> Unix-type machines. A useful way around this is to look for the locale files
> on a path relative to the location of the gettext runtime DLL. IIRC,
> GetModuleFileName is the API call to look for.
> Max.

So the .mo files get installed 'near' the gettext runtime dll
(/usr/share/locale?) and not necessarily within the Subversion install
area...I did not realize that, but I see now that there are a bunch of
things in my gettext's "share\locale\ca\LC_MESSAGES" etc. The default
SVN_LOCALE_DIR would be "/usr/share/locale" on a unix machine?

There are no issues or objections to calculating the SVN_LOCALE_DIR on
Windows based on the location of the gettext runtime dll
(gettextpo.dll)? This is easy to do, I just want to make sure it's what
is desired.

Thanks! (Ben, too, for the PACKAGE_NAME pointer)


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 6 03:02:15 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.