Re: General localization question



On Mon, Dec 31, 2001 at 11:53:52AM +0100, Pablo Saratxaga wrote:
> On Fri, Dec 21, 2001 at 12:40:36PM -0800, Samir A. Singh wrote:
> > I'm interested in adding localization to my program but I've never used
> > any of the locale stuff in gnome or gtk.  I've been perusing the archives
> > and I noticed this written a while back...
> 
> You can still read it on http://chanae.stben.be/pablo/i18n/

If i want to try *uninstalled* translations then what do i have to do?

  gtk_init (...);
  bindtextdomain("redael", "/home/joshua/redael/locale");
  textdomain("redael");

  cp po/mr.gmo /home/joshua/redael/locale/mr/LC_MESSAGES/redael.mo
  cp po/mr.gmo /home/joshua/redael/locale/mr_MR/LC_MESSAGES/redael.mo

  LANG=mr_MR ./redael

It seems like this should work but it doesn't.

-- 
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]