[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-05 14:15:39 CEST

D.J. Heap wrote:
> I've got gettext support partially done, but have a few questions...
>
> First, where does PACKAGE_NAME come from? I see it setup in the
> Makefile.in as coming from @PACKAGE_NAME@...is it an option passed in
> somewhere?
>
> Second, where should SVN_LOCALE_DIR be on Windows? This will be where
> the .mo files are after installation, right? Does that directory really
> need to be compiled into the code? Or am I misunderstanding how this
> works? I know zero about gettext and am just fumbling along here...so
> please be gentle.

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 5 17:04:44 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.