[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: Max Bowsher <maxb_at_ukf.net>
Date: 2004-04-06 20:32:53 CEST

D.J. Heap wrote:
> Max Bowsher wrote:
> [snip]
>>
>> 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.

I don't actually know where the .mo files, or the gettext runtime, are
installed on Windows. (I use Cygwin).

> The default
> SVN_LOCALE_DIR would be "/usr/share/locale" on a unix machine?

The default would be "<prefix>/share/locale", and the default prefix is
"/usr/local". Prefix is often set to "/usr" when using a packaging system,
though.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 6 20:33:34 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.