Reply
Thread Tools
Posts: 10 | Thanked: 0 times | Joined on Feb 2009
#1
Hello everyone
I am new to linux programming and have this problem.
I have coded all application and I have made a simple Makefile (I have not used autoconf, just simply written by hand) and right now I am trying to localize an application.
I have created a .po file and added these lines to main

bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);

but right now as I can not make proper configure.ac and Makefile.am files, I need to specify GETTEXT_PACKAGE and LOCALEDIR manually so that while making, app can find translations and I do not know how to do that. If anyone can help me I would be very thankful.

note - every tutorial I read was about ./configure stuff and not about maually made Makefile so thats why I am asking for your help

Thanks Johnnnie
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:58.